changeset 1523:da91b601bc77

Fix previous changeset The test was completely broken because the newer version was tested _after_ the older one. Now the older version is only checked when the other test fails.
author Mikael Berthe <mikael@lilotux.net>
date Wed, 01 Oct 2008 20:20:58 +0200
parents 5ef122b2bb75
children 935289bf02ea
files mcabber/configure.ac
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/configure.ac	Wed Oct 01 19:09:59 2008 +0200
+++ b/mcabber/configure.ac	Wed Oct 01 20:20:58 2008 +0200
@@ -128,12 +128,11 @@
 fi
 
 # Check for glib
-AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR([glib is required]),[g_list_append])
-
-# Check for regex support in glib
 AM_PATH_GLIB_2_0(2.14.0,
-                 AC_DEFINE(HAVE_GLIB_REGEX, 1,
-                           [Define if your glib2 version has regex support]), ,
+                 [AC_DEFINE(HAVE_GLIB_REGEX, 1,
+                            [Define if GLib has regex support])],
+                 [AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR([glib is required]),
+                                  [g_list_append])],
                  [g_regex_new])
 
 # Check for gpgme