X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=configure.ac;h=a1c3303beca22cb7aefd4d9dca4d2d07bc2d09f2;hb=69b8a9a1af204685dfdfaf1279a0f2928e0bbb32;hp=e3d09da6c063fc5eb5f1435a0bfc3a86a1eca9ec;hpb=e1565a0ea91cdc31394183953811653506e2e15f;p=collectd.git diff --git a/configure.ac b/configure.ac index e3d09da6..a1c3303b 100644 --- a/configure.ac +++ b/configure.ac @@ -1638,10 +1638,11 @@ PKG_CHECK_MODULES([HAL], [hal], ]) CPPFLAGS="$SAVE_CPPFLAGS" ], - [] + [ : ] ) LIBS="$SAVE_LIBS" - ] + ], + [ : ] ) AC_SUBST(BUILD_WITH_LIBHAL_CFLAGS) AC_SUBST(BUILD_WITH_LIBHAL_LIBS) @@ -3882,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