diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2009-01-18 06:53:44 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2009-01-18 06:53:44 +0000 |
commit | a5fd60a8ac9f19c150c45a2e1a050d65e8745423 (patch) | |
tree | 6e921770db3ced6bfc8d5e3806b56435642453da /configure.in | |
parent | a55229a520b51c4000180809db96bef93a516805 (diff) | |
download | glib-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.in | 1 |
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@:>@], |