build: Add "checking ... result" around Python tests.

This commit is contained in:
Richard W.M. Jones
2010-12-09 12:35:41 +00:00
parent 8e4c22db23
commit 8ea322aba3

View File

@@ -491,8 +491,14 @@ AS_IF([test "x$enable_python" != "xno"],
AC_CHECK_PROG([PYTHON],[python],[python],[no])
if test "x$PYTHON" != "xno"; then
AC_MSG_CHECKING([Python prefix])
PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"`
AC_MSG_RESULT([$PYTHON_PREFIX])
AC_MSG_CHECKING([Python version])
PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[[0:3]]"`
AC_MSG_RESULT([$PYTHON_VERSION])
for d in \
$PYTHON_PREFIX/include/python$PYTHON_VERSION \
/usr/include/python$PYTHON_VERSION \