summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bundle/expat/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle/expat/config.m4 b/bundle/expat/config.m4
index 5895b6ddfa..9852dfc911 100644
--- a/bundle/expat/config.m4
+++ b/bundle/expat/config.m4
@@ -1,7 +1,7 @@
PHP_ARG_BUNDLE(bundle-expat, Whether to enable XML support,
[ --disable-bundle-expat Use the bundled expat library], yes)
-if test "$PHP_BUNDLE_EXPAT" = "yes"; then
+if test "$PHP_BUNDLE_EXPAT" = "yes" && test "$PHP_EXPAT_DIR" = "no"; then
AC_C_BIGENDIAN
if test "$ac_cv_c_bigendian" = "yes"; then
order=4321