summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-09 12:35:41 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-09 16:41:40 +0000
commit8ea322aba3041e67cf32b43101a3299f89c9b0dc (patch)
treefdacb1d30c2c5ad8b1dd50c036049e1877a2bd9f
parent8e4c22db236f08f836a8ab94c8bb025d727684b5 (diff)
downloadlibguestfs-8ea322aba3041e67cf32b43101a3299f89c9b0dc.tar.gz
libguestfs-8ea322aba3041e67cf32b43101a3299f89c9b0dc.tar.xz
libguestfs-8ea322aba3041e67cf32b43101a3299f89c9b0dc.zip
build: Add "checking ... result" around Python tests.
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5752c622..168da83b 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 \