cvs: /php4/ext/xml config.m4
| From: | Gergely Madar�sz | Date: | Fri, 03 Sep 1999 16:37:00 +0000 |
| Subject: | cvs: /php4/ext/xml config.m4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4051@lists.php.net to get a copy of this message | ||
gorgo Fri Sep 3 12:37:00 1999 EDT
Modified files:
/php4/ext/xml config.m4
Log:
Small cleanup
Index: php4/ext/xml/config.m4
diff -u php4/ext/xml/config.m4:1.8 php4/ext/xml/config.m4:1.9
--- php4/ext/xml/config.m4:1.8 Thu Sep 2 14:22:07 1999
+++ php4/ext/xml/config.m4 Fri Sep 3 12:37:00 1999
@@ -1,5 +1,5 @@
# $Source: /local/repository/php4/ext/xml/config.m4,v $
-# $Id: config.m4,v 1.8 1999/09/02 18:22:07 ssb Exp $
+# $Id: config.m4,v 1.9 1999/09/03 16:37:00 gorgo Exp $
AC_MSG_CHECKING(for XML support)
AC_ARG_WITH(xml,
@@ -27,10 +27,15 @@
AC_MSG_RESULT([yes (static)])
fi
if test "$withval" = "yes"; then
- test -d /usr/include/xmltok && XML_INCLUDE="/usr/include/xmltok"
test -d /usr/include/xml && XML_INCLUDE="/usr/include/xml"
test -d /usr/local/include/xml && XML_INCLUDE="/usr/local/include/xml"
- AC_CHECK_LIB(expat, main, XML_LIBS="-lexpat", XML_LIBS="-lxmlparse
-lxmltok")
+ test -d /usr/include/xmltok && XML_INCLUDE="/usr/include/xmltok"
+ AC_CHECK_LIB(expat, main, XML_LIBS="-lexpat",
+ AC_CHECK_LIB(xmltok, main,
+ AC_CHECK_LIB(xmlparse, main, XML_LIBS="-lxmlparse -lxmltok",
+ AC_MSG_ERROR(No expat library found for the xml module),"-lxmltok"),
+ AC_MSG_ERROR(No expart library found for the xml module))
+ )
else
XML_LIBS="-L$withval/lib -lexpat"
if test -d $withval/include/xml; then