Mercurial > ~mikael > mcabber > hg
comparison mcabber/configure.ac @ 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 | 33f8f795abd2 |
children | 4441fe9a4706 |
comparison
equal
deleted
inserted
replaced
1522:5ef122b2bb75 | 1523:da91b601bc77 |
---|---|
126 AC_DEFINE(HAVE_ESCDELAY, 1, | 126 AC_DEFINE(HAVE_ESCDELAY, 1, |
127 [Define if ncurses has ESCDELAY variable]) | 127 [Define if ncurses has ESCDELAY variable]) |
128 fi | 128 fi |
129 | 129 |
130 # Check for glib | 130 # Check for glib |
131 AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR([glib is required]),[g_list_append]) | |
132 | |
133 # Check for regex support in glib | |
134 AM_PATH_GLIB_2_0(2.14.0, | 131 AM_PATH_GLIB_2_0(2.14.0, |
135 AC_DEFINE(HAVE_GLIB_REGEX, 1, | 132 [AC_DEFINE(HAVE_GLIB_REGEX, 1, |
136 [Define if your glib2 version has regex support]), , | 133 [Define if GLib has regex support])], |
134 [AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR([glib is required]), | |
135 [g_list_append])], | |
137 [g_regex_new]) | 136 [g_regex_new]) |
138 | 137 |
139 # Check for gpgme | 138 # Check for gpgme |
140 AC_ARG_ENABLE(gpgme, AC_HELP_STRING([--disable-gpgme], [disable GPGME support]), | 139 AC_ARG_ENABLE(gpgme, AC_HELP_STRING([--disable-gpgme], [disable GPGME support]), |
141 [ if test x"$enableval" = x"no"; then | 140 [ if test x"$enableval" = x"no"; then |