diff options
Diffstat (limited to 'www/mod_php4/files/patch-ext_domxml_config.m4')
-rw-r--r-- | www/mod_php4/files/patch-ext_domxml_config.m4 | 34 |
1 files changed, 8 insertions, 26 deletions
diff --git a/www/mod_php4/files/patch-ext_domxml_config.m4 b/www/mod_php4/files/patch-ext_domxml_config.m4 index 736fe29..f55ba83 100644 --- a/www/mod_php4/files/patch-ext_domxml_config.m4 +++ b/www/mod_php4/files/patch-ext_domxml_config.m4 @@ -1,29 +1,11 @@ ---- ext/domxml/config.m4.orig Sun May 27 11:37:40 2001 -+++ ext/domxml/config.m4 Sun Nov 18 23:20:57 2001 -@@ -3,7 +3,7 @@ +--- ext/domxml/config.m4.orig Wed Dec 19 18:40:15 2001 ++++ ext/domxml/config.m4 Wed Dec 19 18:42:15 2001 +@@ -53,6 +53,8 @@ - AC_DEFUN(PHP_DOM_CHECK_VERSION,[ - old_CPPFLAGS=$CPPFLAGS -- CPPFLAGS=-I$DOMXML_DIR/include -+ CPPFLAGS=-I$DOMXML_DIR/include/libxml2 - AC_MSG_CHECKING(for libxml version) - AC_EGREP_CPP(yes,[ - #include <libxml/xmlversion.h> -@@ -25,7 +25,7 @@ - - if test "$PHP_DOM" != "no"; then - -- if test -r $PHP_DOM/include/libxml/tree.h; then -+ if test -r $PHP_DOM/include/libxml2/libxml/tree.h; then - DOMXML_DIR=$PHP_DOM - else - AC_MSG_CHECKING(for DOM in default path) -@@ -44,6 +44,8 @@ - - PHP_DOM_CHECK_VERSION - -+ PHP_ADD_INCLUDE($DOMXML_DIR/include/libxml2) + PHP_ADD_LIBRARY_WITH_PATH($DOM_LIBNAME, $DOMXML_DIR/lib, DOMXML_SHARED_LIBADD) + PHP_ADD_INCLUDE($DOMXML_DIR/include$DOMXML_DIR_ADD) +dnl next line is for giconv.h - PHP_ADD_INCLUDE($DOMXML_DIR/include) ++ PHP_ADD_INCLUDE($DOMXML_DIR/include) - if test -f $DOMXML_DIR/lib/libxml2.a -o -f $DOMXML_DIR/lib/libxml2.s? ; then + if test "$PHP_ZLIB_DIR" = "no"; then + AC_MSG_ERROR(DOMXML requires ZLIB. Use --with-zlib-dir=<DIR>) |