Bomb out if glib 2.15.0 isn't found. (AM_PATH_GLIB_2_0 doesn't do this
authorDan Winship <danw@src.gnome.org>
Wed, 16 Jan 2008 19:16:51 +0000 (19:16 +0000)
committerDan Winship <danw@src.gnome.org>
Wed, 16 Jan 2008 19:16:51 +0000 (19:16 +0000)
* configure.in: Bomb out if glib 2.15.0 isn't found.
(AM_PATH_GLIB_2_0 doesn't do this itself.)

svn path=/trunk/; revision=1044

ChangeLog
configure.in

index b09d002..aa602d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-16  Dan Winship  <danw@gnome.org>
+
+       * configure.in: Bomb out if glib 2.15.0 isn't found.
+       (AM_PATH_GLIB_2_0 doesn't do this itself.)
+
 2008-01-15  Dan Winship  <danw@gnome.org>
 
        * libsoup/soup-auth-manager-ntlm.c: Replaces SoupConnectionNTLM;
index ac8c9df..a0453b6 100644 (file)
@@ -74,6 +74,9 @@ dnl *** Checks for glib ***
 dnl ***********************
 
 AM_PATH_GLIB_2_0(2.15.0,,,gobject gthread gio)
+if test "$GLIB_LIBS" = ""; then
+   AC_MSG_ERROR(GLIB 2.15.0 or later is required to build libsoup)
+fi
 
 PKG_CHECK_MODULES(XML, libxml-2.0)
 AC_SUBST(XML_CFLAGS)