Kaydet (Commit) 3f229675 authored tarafından David Tardon's avatar David Tardon

fail early if python version cannot be determined

Change-Id: I8fea82f8d4f779b0e7f8550fb67b794d6ae913ba
üst 3638ffa2
......@@ -7546,6 +7546,11 @@ if test $enable_python = system; then
break
fi
done
AC_MSG_CHECKING([for python version])
AS_IF([test -n "$PYTHON_VERSION"],
[AC_MSG_RESULT([$PYTHON_VERSION])],
[AC_MSG_RESULT([not found])
AC_MSG_ERROR([no usable python found])])
test -n "$PYTHON_CFLAGS" && break
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment