comparison mcabber/configure.ac @ 1521:33f8f795abd2

Check for regex support in glib This is needed for the "url_regex" option.
author Mikael Berthe <mikael@lilotux.net>
date Tue, 30 Sep 2008 19:50:46 +0200
parents 1eb27a3bb457
children da91b601bc77
comparison
equal deleted inserted replaced
1520:41d3457af815 1521:33f8f795abd2
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]) 131 AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR([glib is required]),[g_list_append])
132 132
133 # Check for regex support in glib
134 AM_PATH_GLIB_2_0(2.14.0,
135 AC_DEFINE(HAVE_GLIB_REGEX, 1,
136 [Define if your glib2 version has regex support]), ,
137 [g_regex_new])
138
133 # Check for gpgme 139 # Check for gpgme
134 AC_ARG_ENABLE(gpgme, AC_HELP_STRING([--disable-gpgme], [disable GPGME support]), 140 AC_ARG_ENABLE(gpgme, AC_HELP_STRING([--disable-gpgme], [disable GPGME support]),
135 [ if test x"$enableval" = x"no"; then 141 [ if test x"$enableval" = x"no"; then
136 enable_gpgme=no 142 enable_gpgme=no
137 fi 143 fi