cvs: php4 /ext/domxml config.m4
| From: | Sascha Schumann | Date: | Wed, 07 Feb 2001 16:01:29 +0000 |
| Subject: | cvs: php4 /ext/domxml config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3939@lists.php.net to get a copy of this message | ||
sas Wed Feb 7 08:01:29 2001 EDT
Modified files:
/php4/ext/domxml config.m4
Log:
Improve use of $withval. This also cures the problem of adding -Lyes/lib
to $LIBS.
Index: php4/ext/domxml/config.m4
diff -u php4/ext/domxml/config.m4:1.20 php4/ext/domxml/config.m4:1.21
--- php4/ext/domxml/config.m4:1.20 Mon Jan 29 15:15:11 2001
+++ php4/ext/domxml/config.m4 Wed Feb 7 08:01:29 2001
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.20 2001/01/29 23:15:11 sniper Exp $
+dnl $Id: config.m4,v 1.21 2001/02/07 16:01:29 sas Exp $
dnl config.m4 for extension domxml
AC_DEFUN(PHP_DOM_CHECK_VERSION,[
@@ -56,7 +56,6 @@
AC_ADD_LIBRARY_WITH_PATH($DOM_LIBNAME, $DOMXML_DIR/lib, DOMXML_SHARED_LIBADD)
if test $HAVE_ZLIB; then
- old_withval=$withval
AC_MSG_CHECKING([for zlib (needed by DOM support)])
AC_ARG_WITH(zlib-dir,
[ --with-zlib-dir[=DIR] zlib dir for libxml or include zlib support],[
@@ -71,10 +70,9 @@
AC_MSG_RESULT(no)
AC_MSG_WARN(If configure fails try --with-zlib=<DIR>)
])
- withval=$old_withval
else
echo "checking for libz needed by libxml ... already zlib support"
- LIBS="$LIBS -L$withval/lib -lz"
+ LIBS="$LIBS -lz"
fi
AC_DEFINE(HAVE_DOMXML,1,[ ])