X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=configure.ac;h=a1c3303beca22cb7aefd4d9dca4d2d07bc2d09f2;hb=69b8a9a1af204685dfdfaf1279a0f2928e0bbb32;hp=56d22c266aff8c7209f2703e6e416aed7a5618f2;hpb=4b5ba71b9e298ce50fd61fbbc5d0926c3241239d;p=collectd.git diff --git a/configure.ac b/configure.ac index 56d22c26..a1c3303b 100644 --- a/configure.ac +++ b/configure.ac @@ -1638,7 +1638,7 @@ PKG_CHECK_MODULES([HAL], [hal], ]) CPPFLAGS="$SAVE_CPPFLAGS" ], - [] + [ : ] ) LIBS="$SAVE_LIBS" ], @@ -3883,14 +3883,12 @@ PATH="$with_python_path" if test "x$with_python" = "xyes" && test "x$with_python_prog" = "x" then - AC_MSG_CHECKING([for python]) - with_python_prog="`which python 2>/dev/null`" - if test "x$with_python_prog" = "x" + AC_PATH_PROG([PYTHON], [python]) + if test "x$PYTHON" = "x" then - AC_MSG_RESULT([not found]) with_python="no (interpreter not found)" else - AC_MSG_RESULT([$with_python_prog]) + with_python_prog="$PYTHON" fi fi