From 8ea322aba3041e67cf32b43101a3299f89c9b0dc Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 9 Dec 2010 12:35:41 +0000 Subject: [PATCH] build: Add "checking ... result" around Python tests. --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) 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 \ -- 1.8.3.1