rasmus          Mon Oct  7 18:27:51 2002 EDT

  Modified files:              
    /php4/ext/zlib      config0.m4 
  Log:
  Make zlib-dir actually mean something during the check
  
  
Index: php4/ext/zlib/config0.m4
diff -u php4/ext/zlib/config0.m4:1.11 php4/ext/zlib/config0.m4:1.12
--- php4/ext/zlib/config0.m4:1.11       Mon Oct  7 17:13:46 2002
+++ php4/ext/zlib/config0.m4    Mon Oct  7 18:27:50 2002
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config0.m4,v 1.11 2002/10/07 21:13:46 rasmus Exp $
+dnl $Id: config0.m4,v 1.12 2002/10/07 22:27:50 rasmus Exp $
 dnl
 
 PHP_ARG_WITH(zlib,for ZLIB support,
@@ -36,10 +36,12 @@
     AC_MSG_ERROR(Cannot find libz)
   fi
 
-  AC_CHECK_LIB(z, gzgets, [
+  PHP_CHECK_LIBRARY(z, gzgets, [
     AC_DEFINE(HAVE_ZLIB,1,[ ]) 
   ],[
     AC_MSG_ERROR(ZLIB extension requires zlib >= 1.0.9)
+  ],[
+    -L$ZLIB_DIR/lib
   ])
 
   PHP_ADD_LIBPATH($ZLIB_DIR/lib, ZLIB_SHARED_LIBADD)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to