summaryrefslogtreecommitdiff
path: root/ext/domxml
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-02-07 16:01:29 +0000
committerSascha Schumann <sas@php.net>2001-02-07 16:01:29 +0000
commit271617483aff46e0e82fcfe2849ea050c6ca2cfd (patch)
treeee281fb015e39ef4b507a4cd9e04c644f0b0e3df /ext/domxml
parent4aefaf2816abf3183916d4c2456b322ba5641e40 (diff)
downloadphp-git-271617483aff46e0e82fcfe2849ea050c6ca2cfd.tar.gz
Improve use of $withval. This also cures the problem of adding -Lyes/lib
to $LIBS.
Diffstat (limited to 'ext/domxml')
-rw-r--r--ext/domxml/config.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/domxml/config.m4 b/ext/domxml/config.m4
index 3ded83a560..d2e874d059 100644
--- a/ext/domxml/config.m4
+++ b/ext/domxml/config.m4
@@ -56,7 +56,6 @@ if test "$PHP_DOM" != "no"; then
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 @@ if test "$PHP_DOM" != "no"; then
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,[ ])