aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-23 20:21:23 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-23 20:21:23 +0000
commit20b6ad5283ef187e8f5154362e2f2201a30ffa8f (patch)
treed5a68b6e9ca4d999dc4aed10cfafc76c6fe2a868
parent2d3b1d91179f9b7ff630a037825fcc77b3bcd99d (diff)
downloadpaludis-20b6ad5283ef187e8f5154362e2f2201a30ffa8f.tar.gz
paludis-20b6ad5283ef187e8f5154362e2f2201a30ffa8f.tar.xz
Require libwrapiter-0.2
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a553738..1632839 100644
--- a/configure.ac
+++ b/configure.ac
@@ -210,6 +210,16 @@ int main(int, char **)
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
AC_MSG_ERROR([libwrapiter (http://libwrapiter.berlios.de/) is required])])
+AC_MSG_CHECKING([libwrapiter version])
+AC_COMPILE_IFELSE([
+#include <libwrapiter/libwrapiter.hh>
+#if LIBWRAPITER_VERSION < 200
+# error libwrapiter 0.2 or later required
+#endif
+],
+ [AC_MSG_RESULT([yes])],
+ [AC_MSG_RESULT([no])
+ AC_MSG_ERROR([libwrapiter version must be at least 0.2])])
dnl }}}
dnl {{{ check for various misc functions.