mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
Move -DSUPPORT_UTF8 flag into the appropriate Makefile so as not to pollute
the global namespace.
This commit is contained in:
parent
e80abfa40c
commit
0ee9518396
@ -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, [ ])
|
||||
|
@ -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, [ ])
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user