Don't add -DXML_BYTE_ORDER to global CPPFLAGS

This commit is contained in:
Sascha Schumann 2001-05-20 22:15:25 +00:00
parent c9023bdcae
commit 244ea9f6c8
2 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,8 @@ LTLIBRARY_LIBADD = $(LTLIBRARY_DEPENDENCIES)
LTLIBRARY_SHARED_NAME = xml.la
LTLIBRARY_SHARED_LIBADD = $(EXPAT_SHARED_LIBADD)
EXTRA_INCLUDES = $(XML_CPPFLAGS)
SUBDIRS = $(EXPAT_SUBDIRS)
include $(top_srcdir)/build/dynlib.mk

View File

@ -19,9 +19,10 @@ if test "$PHP_XML" != "no"; then
if test "$PHP_XML" = "yes"; then
AC_DEFINE(HAVE_LIBEXPAT, 1, [ ])
AC_DEFINE(HAVE_LIBEXPAT_BUNDLED, 1, [ ])
CPPFLAGS="$CPPFLAGS -DXML_BYTE_ORDER=$order"
XML_CPPFLAGS=-DXML_BYTE_ORDER=$order
EXPAT_INTERNAL_LIBADD=expat/libexpat.la
PHP_SUBST(EXPAT_INTERNAL_LIBADD)
PHP_SUBST(XML_CPPFLAGS)
EXPAT_SUBDIRS=expat
PHP_SUBST(EXPAT_SUBDIRS)
PHP_SUBST(EXPAT_SHARED_LIBADD)