From: Richard W.M. Jones Date: Thu, 9 Dec 2010 12:35:41 +0000 (+0000) Subject: build: Add "checking ... result" around Python tests. X-Git-Tag: 1.7.21~9 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=8ea322aba3041e67cf32b43101a3299f89c9b0dc;p=libguestfs.git build: Add "checking ... result" around Python tests. --- diff --git a/configure.ac b/configure.ac index 5752c62..168da83 100644 --- a/configure.ac +++ b/configure.ac @@ -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 \