aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-26 15:32:14 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-26 15:32:14 +0000
commit70f2f8215f7d4bcaff0c03043df2525a1ac4ad47 (patch)
treed4cef04cac1321092542c7d9b449665dcbbc9cd3
parenta3a0c7d4578da64b6377c9baccd3d92b5c26eda8 (diff)
downloadpaludis-70f2f8215f7d4bcaff0c03043df2525a1ac4ad47.tar.gz
paludis-70f2f8215f7d4bcaff0c03043df2525a1ac4ad47.tar.xz
Provide better error messages for lack of libxml2, gtkmm or vte
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 42bef8c..e8fad3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -377,7 +377,8 @@ if test x"$ENABLE_QA" = "xyes" ; then
else
AC_MSG_ERROR([pcre++ (http://www.daemon.de/PCRE) is required if --enable-qa is used])
fi
- PKG_CHECK_MODULES(LIBXML2DEPS, [libxml-2.0 >= 2.6])
+ PKG_CHECK_MODULES(LIBXML2DEPS, [libxml-2.0 >= 2.6], [],
+ [AC_MSG_ERROR([libxml2 (http://xmlsoft.org/) is required if --enable-qa is used])])
AC_SUBST(LIBXML2DEPS_CFLAGS)
AC_SUBST(LIBXML2DEPS_LIBS)
fi
@@ -469,7 +470,8 @@ if test "x$enable_gtk" = "xyes"; then
AC_SUBST(GMMPROC_DIR)
GMMPROC=$GMMPROC_DIR/gmmproc
AC_SUBST(GMMPROC)
- PKG_CHECK_MODULES(GTKDEPS, [gtkmm-2.4 >= 2.6.0 glibmm-2.4 >= 2.6.0 pangomm-1.4 gdkmm-2.4 vte >= 0.12.1])
+ PKG_CHECK_MODULES(GTKDEPS, [gtkmm-2.4 >= 2.6.0 glibmm-2.4 >= 2.6.0 pangomm-1.4 gdkmm-2.4 vte >= 0.12.1],
+ [], [AC_MSG_ERROR([gtkmm-2.4 and vte-0.12.1 or later are required if --enable-gtk is used])])
AC_SUBST(GTKDEPS_CFLAGS)
AC_SUBST(GTKDEPS_LIBS)
fi