changeset 2447:bfa3d9faa4f0

Some sanitization, I hope.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 13 Mar 2008 23:23:04 +0200
parents bd2478ece731
children e55dd1239c07
files configure.ac
diffstat 1 files changed, 11 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Thu Mar 13 22:53:14 2008 +0200
+++ b/configure.ac	Thu Mar 13 23:23:04 2008 +0200
@@ -139,17 +139,17 @@
 
 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.14.0 gthread-2.0],
     [ADD_PC_REQUIRES([glib-2.0 >= 2.14.0])],
-    [AC_MSG_ERROR([Cannot find glib2 >= 2.14.0])]
+    [AC_MSG_ERROR([Cannot find Glib2 >= 2.14.0])]
 )
 
-PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.6.0],
-    [ADD_PC_REQUIRES([gtk+-2.0 >= 2.6.0])],
-    [AC_MSG_ERROR([Cannot find gtk2 >= 2.6.0])]
+PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.10.0],
+    [ADD_PC_REQUIRES([gtk+-2.0 >= 2.10.0])],
+    [AC_MSG_ERROR([Cannot find Gtk+2 >= 2.10.0])]
 )
 
 PKG_CHECK_MODULES(PANGO, [pango >= 1.8.0],
     [ADD_PC_REQUIRES([pango >= 1.8.0])],
-    [AC_MSG_ERROR([Cannot find pango >= 1.8.0])]
+    [AC_MSG_ERROR([Cannot find Pango >= 1.8.0])]
 )
 
 AC_ARG_ENABLE(dbus,
@@ -163,9 +163,12 @@
 	])
 fi
 
-PKG_CHECK_MODULES(MOWGLI, [libmowgli >= 0.2.0],
-    [ADD_PC_REQUIRES([libmowgli >= 0.2.0])],
-    [AC_MSG_ERROR([Cannot find libmowgli >= 0.2.0])]
+
+dnl Check for libmowgli.
+
+PKG_CHECK_MODULES(MOWGLI, [libmowgli >= 0.4.0],
+    [ADD_PC_REQUIRES([libmowgli >= 0.4.0])],
+    [AC_MSG_ERROR([Cannot find libmowgli >= 0.4.0, try http://www.atheme.org/projects/mowgli.shtml])]
 )
 
 dnl IPv6 support