summaryrefslogtreecommitdiff
path: root/ext/pcre
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2001-05-18 15:34:58 +0000
committerAndrei Zmievski <andrei@php.net>2001-05-18 15:34:58 +0000
commit0ee951839602d39e3cee14ede9927849d24e6555 (patch)
tree7decb6322f995181c9a8da6fa2e64150d5c67e12 /ext/pcre
parente80abfa40c6b28ba8193c454f63b31bf96ce1454 (diff)
downloadphp-git-0ee951839602d39e3cee14ede9927849d24e6555.tar.gz
Move -DSUPPORT_UTF8 flag into the appropriate Makefile so as not to pollute
the global namespace.
Diffstat (limited to 'ext/pcre')
-rw-r--r--ext/pcre/config.m41
-rw-r--r--ext/pcre/config0.m41
-rw-r--r--ext/pcre/pcrelib/Makefile.in2
3 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/config.m4 b/ext/pcre/config.m4
index 5bfbc9ceab..b903b19c42 100644
--- a/ext/pcre/config.m4
+++ b/ext/pcre/config.m4
@@ -16,7 +16,6 @@ if test "$PHP_PCRE_REGEX" != "no"; then
PCRE_LIBADD=pcrelib/libpcre.la
PCRE_SHARED_LIBADD=pcrelib/libpcre.la
PCRE_SUBDIRS=pcrelib
- CPPFLAGS="$CPPFLAGS -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 5bfbc9ceab..b903b19c42 100644
--- a/ext/pcre/config0.m4
+++ b/ext/pcre/config0.m4
@@ -16,7 +16,6 @@ if test "$PHP_PCRE_REGEX" != "no"; then
PCRE_LIBADD=pcrelib/libpcre.la
PCRE_SHARED_LIBADD=pcrelib/libpcre.la
PCRE_SUBDIRS=pcrelib
- CPPFLAGS="$CPPFLAGS -DSUPPORT_UTF8"
PHP_SUBST(PCRE_LIBADD)
PHP_SUBST(PCRE_SUBDIRS)
AC_DEFINE(HAVE_BUNDLED_PCRE, 1, [ ])
diff --git a/ext/pcre/pcrelib/Makefile.in b/ext/pcre/pcrelib/Makefile.in
index d09d64b73a..6f7bb73cf0 100644
--- a/ext/pcre/pcrelib/Makefile.in
+++ b/ext/pcre/pcrelib/Makefile.in
@@ -2,4 +2,6 @@
LTLIBRARY_NAME = libpcre.la
LTLIBRARY_SOURCES = maketables.c get.c study.c pcre.c
+EXTRA_INCLUDES = -DSUPPORT_UTF8
+
include $(top_srcdir)/build/dynlib.mk