Browse Source

- should now compile and configure with libxml 2.0.0

PHP-4.0.5
Uwe Steinmann 26 years ago
parent
commit
a8401a33c6
  1. 2
      ext/domxml/config.m4
  2. 2
      ext/domxml/php_domxml.h

2
ext/domxml/config.m4

@ -22,7 +22,7 @@ AC_ARG_WITH(dom,
AC_ADD_INCLUDE(/usr/local/include)
;;
*)
test -f $withval/include/gnome-xml/tree.h && DOMXML_INCLUDE="$withval/include"
test -f $withval/include/libxml/tree.h && DOMXML_INCLUDE="$withval/include"
if test -n "$DOMXML_INCLUDE" ; then
AC_MSG_RESULT(yes)
PHP_EXTENSION(domxml)

2
ext/domxml/php_domxml.h

@ -35,7 +35,7 @@
#define _PHP_DOMXML_H
#if HAVE_DOMXML
#include <gnome-xml/parser.h>
#include <libxml/parser.h>
extern zend_module_entry php_domxml_module_entry;
#define php_domxml_module_ptr &php_domxml_module_entry

Loading…
Cancel
Save