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:
04293c7
)
build: Warn if Python include or site-packages not found.
author
Maxim Koltsov
<kolmax94@gmail.com>
Mon, 8 Nov 2010 14:27:27 +0000
(14:27 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 18 Nov 2010 11:30:22 +0000
(11:30 +0000)
(cherry picked from commit
041969480a2712311c2a82a0c118426793a9b338
)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
a6ccafa
..
ab7f7ae
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-572,6
+572,9
@@
AS_IF([test "x$enable_python" != "xno"],
fi
AC_MSG_RESULT([not found])
done
+ if test "x$PYTHON_INCLUDEDIR" = "x"; then
+ AC_MSG_WARN([Python include directory not found])
+ fi
for d in \
$PYTHON_PREFIX/lib64/python$PYTHON_VERSION/site-packages \
@@
-588,6
+591,9
@@
AS_IF([test "x$enable_python" != "xno"],
fi
AC_MSG_RESULT([not found])
done
+ if test "x$PYTHON_SITE_PACKAGES" = "x"; then
+ AC_MSG_WARN([Python site-packages directory not found])
+ fi
old_LIBS="$LIBS"
LIBS="$LIBS -lpython$PYTHON_VERSION"