Move -DSUPPORT_UTF8 flag into the appropriate Makefile so as not to pollute

the global namespace.
This commit is contained in:
Andrei Zmievski 2001-05-18 15:34:58 +00:00
parent e80abfa40c
commit 0ee9518396
3 changed files with 2 additions and 2 deletions

View File

@ -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, [ ])

View File

@ -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, [ ])

View File

@ -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