@ -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)
@ -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