summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2001-02-20 22:21:06 +0000
committerAndrei Zmievski <andrei@php.net>2001-02-20 22:21:06 +0000
commitdf868616aabe7e3bc401eec14cbcf77e5be3370c (patch)
tree29001d64a2e3c91b7c6680801c57327d96d06e9c /ext
parenta798fe8d5d37a863d23b17fc72696085005637a3 (diff)
downloadphp-git-df868616aabe7e3bc401eec14cbcf77e5be3370c.tar.gz
Enable UTF8 support (incomplete) by default.
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, [ ])