git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8e4c22d
)
build: Add "checking ... result" around Python tests.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 9 Dec 2010 12:35:41 +0000
(12:35 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 9 Dec 2010 16:41:40 +0000
(16:41 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
5752c62
..
168da83
100644
(file)
--- 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_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"`
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]]"`
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 \
for d in \
$PYTHON_PREFIX/include/python$PYTHON_VERSION \
/usr/include/python$PYTHON_VERSION \