mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
build: Add "checking ... result" around Python tests.
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user