summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMaxim Koltsov <kolmax94@gmail.com>2010-11-08 14:27:27 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-08 14:28:52 +0000
commit041969480a2712311c2a82a0c118426793a9b338 (patch)
treec64a468883f68e98d456ee1f8908cf18ed519807 /configure.ac
parent3a7eb8ebdb47878ab9bd6b8aff88744365179f87 (diff)
downloadlibguestfs-041969480a2712311c2a82a0c118426793a9b338.tar.gz
libguestfs-041969480a2712311c2a82a0c118426793a9b338.tar.xz
libguestfs-041969480a2712311c2a82a0c118426793a9b338.zip
build: Warn if Python include or site-packages not found.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f6fb661e..4f29fcdc 100644
--- 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"