Is this needed? It sounds reasonable to me. -- Yasuo Ohgaki
-------- Original Message -------- Subject: fix for problem with configure script libxml Date: Wed, 16 Jan 2002 10:50:32 -0600 From: [EMAIL PROTECTED] (Jon Wagoner) To: <[EMAIL PROTECTED]> Newsgroups: php.install A machine I was installing on had both libxml and libxml2. In the configure script test, it has: if test -r $PHP_DOM/include/libxml/tree.h; then DOMXML_DIR=$PHP_DOM elif test -r $PHP_DOM/include/libxml2/libxml/tree.h; then DOMXML_DIR=$PHP_DOM DOMXML_DIR_ADD="/libxml2" Since it found libxml first, it said I needed a later version. I changed it to look for libxml2 first, since that should be newer, and it works fine: if test -r $PHP_DOM/include/libxml2/libxml/tree.h; then DOMXML_DIR=$PHP_DOM DOMXML_DIR_ADD="/libxml2" elif test -r $PHP_DOM/include/libxml/tree.h; then DOMXML_DIR=$PHP_DOM Jon -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]