summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/pcre/config.m41
-rw-r--r--ext/pcre/config0.m41
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/pcre/config.m4 b/ext/pcre/config.m4
index 89d2394143..b76fbea0df 100644
--- a/ext/pcre/config.m4
+++ b/ext/pcre/config.m4
@@ -16,6 +16,7 @@ if test "$PHP_PCRE_REGEX" != "no"; then
PCRE_LIBADD=pcrelib/libpcre.la
PCRE_SHARED_LIBADD=pcrelib/libpcre.la
PCRE_SUBDIRS=pcrelib
+ CFLAGS="$CFLAGS -DSUPPORT_UTF8"
PHP_SUBST(PCRE_LIBADD)
PHP_SUBST(PCRE_SUBDIRS)
AC_DEFINE(HAVE_BUNDLED_PCRE, 1, [ ])
diff --git a/ext/pcre/config0.m4 b/ext/pcre/config0.m4
index 89d2394143..b76fbea0df 100644
--- a/ext/pcre/config0.m4
+++ b/ext/pcre/config0.m4
@@ -16,6 +16,7 @@ if test "$PHP_PCRE_REGEX" != "no"; then
PCRE_LIBADD=pcrelib/libpcre.la
PCRE_SHARED_LIBADD=pcrelib/libpcre.la
PCRE_SUBDIRS=pcrelib
+ CFLAGS="$CFLAGS -DSUPPORT_UTF8"
PHP_SUBST(PCRE_LIBADD)
PHP_SUBST(PCRE_SUBDIRS)
AC_DEFINE(HAVE_BUNDLED_PCRE, 1, [ ])