projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: replace memset to 0 with initializers
[collectd.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
4aa3af7
..
a1c3303
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-3883,14
+3883,12
@@
PATH="$with_python_path"
if test "x$with_python" = "xyes" && test "x$with_python_prog" = "x"
then
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
then
- AC_MSG_RESULT([not found])
with_python="no (interpreter not found)"
else
with_python="no (interpreter not found)"
else
- AC_MSG_RESULT([$with_python_prog])
+ with_python_prog="$PYTHON"
fi
fi
fi
fi