summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2009-01-18 06:53:44 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2009-01-18 06:53:44 +0000
commita5fd60a8ac9f19c150c45a2e1a050d65e8745423 (patch)
tree6e921770db3ced6bfc8d5e3806b56435642453da /configure.in
parenta55229a520b51c4000180809db96bef93a516805 (diff)
downloadglib-a5fd60a8ac9f19c150c45a2e1a050d65e8745423.tar.gz
Define an ENABLE_REGEX macro
* configure.in: Define an ENABLE_REGEX macro * gobject/gboxed.c: Don't refer to g_regex_ref if ENABLE_REGEX is not defined. svn path=/trunk/; revision=7815
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 921506dcb..5fd985fce 100644
--- a/configure.in
+++ b/configure.in
@@ -2502,6 +2502,7 @@ esac],
AM_CONDITIONAL(ENABLE_REGEX, $enable_regex)
if test x$enable_regex = xtrue; then
+ AC_DEFINE(ENABLE_REGEX, [], [include GRegex])
# Check if we should use the internal or the system-supplied pcre
AC_ARG_WITH(pcre,
[AC_HELP_STRING([--with-pcre=@<:@internal/system@:>@],