fixeria has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/39776?usp=email )
Change subject: configure.ac: check for Python interpreter unconditionally ......................................................................
configure.ac: check for Python interpreter unconditionally
Python is required at built-time for auto-generating code.
Change-Id: Ib19c4c4bb2b8dd12805ce470896ec5d82c72b064 Fixes: OS#4885 --- M configure.ac 1 file changed, 4 insertions(+), 1 deletion(-)
Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve
diff --git a/configure.ac b/configure.ac index 6c7126f..25db55c 100644 --- a/configure.ac +++ b/configure.ac @@ -173,6 +173,10 @@ dnl Generate the output AC_CONFIG_HEADER(config.h)
+dnl Search for a Python interpreter on the system +dnl python is needed at built-time for auto-generating code +AM_PATH_PYTHON([3.6]) + PKG_CHECK_MODULES(TALLOC, [talloc >= 2.1.0])
AC_ARG_ENABLE([uring], [AS_HELP_STRING([--disable-uring], [Build without io_uring support])], @@ -463,7 +467,6 @@ [Include the VTY/CTRL tests in make check [default=no]]), [enable_ext_tests="$enableval"],[enable_ext_tests="no"]) if test "x$enable_ext_tests" = "xyes" ; then - AM_PATH_PYTHON AC_CHECK_PROG(OSMOTESTEXT_CHECK,osmo_verify_transcript_vty.py,yes) if test "x$OSMOTESTEXT_CHECK" != "xyes" ; then AC_MSG_ERROR([Please install https://gitea.osmocom.org/cellular-infrastructure/osmo-python-tests to run the VTY/CTRL tests.])