[Fwd: fix for problem with configure script libxml]

From: Date: Wed, 16 Jan 2002 23:56:42 +0000
Subject: [Fwd: fix for problem with configure script libxml]
Groups: php.dev 
Request: Send a blank email to php-dev+get-77306@lists.php.net to get a copy of this message
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: jwagoner@wlion.com (Jon Wagoner) To: <php-install@lists.php.net> 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

« previous php.dev (#77306) next »