summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2013-08-21 09:50:32 -0400
committerShaun McCance <shaunm@gnome.org>2013-08-21 09:50:32 -0400
commitcf30d00a9d4802f9d7479d28a4a3ce420bc36aaf (patch)
tree1b7c5009f64ac1ae0b44aa893d01493066711d1b
parente4c6adab00c64141483b322d482a3819968b700e (diff)
parentc9dd17a6504339eb712e0688b68de01566792b7a (diff)
downloaditstool-cf30d00a9d4802f9d7479d28a4a3ce420bc36aaf.tar.gz
Merge commit 'refs/merge-requests/5' of gitorious.org:itstool/itstool
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e2e86f4..bac146f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,6 +10,16 @@ DATADIR=`(
)`
AC_SUBST([DATADIR])
+py_module=libxml2
+AC_MSG_CHECKING(for python module $py_module)
+echo "import $py_module" | python - &>/dev/null
+if test $? -ne 0; then
+ AC_MSG_RESULT(not found)
+ AC_MSG_ERROR(Python module $py_module is needed to run this package)
+else
+ AC_MSG_RESULT(found)
+fi
+
AC_CONFIG_FILES([
Makefile
itstool