CVS update: php3
| From: | cschneid | Date: | Wed, 04 Nov 1998 19:10:41 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2197@lists.php.net to get a copy of this message | ||
Date: Wednesday November 4, 1998 @ 14:10
Author: cschneid
Update of /repository/php3
In directory asf:/u2/tmp/cvs-serv14276
Modified Files:
configure.in
Log Message:
Fixed configure.in with zlib installed in non-standard locations.
Index: php3/configure.in
diff -c php3/configure.in:1.270 php3/configure.in:1.271
*** php3/configure.in:1.270 Wed Nov 4 12:20:10 1998
--- php3/configure.in Wed Nov 4 14:10:40 1998
***************
*** 1,4 ****
! dnl $Id: configure.in,v 1.270 1998/11/04 17:20:10 rasmus Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
--- 1,4 ----
! dnl $Id: configure.in,v 1.271 1998/11/04 19:10:40 cschneid Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
***************
*** 1296,1303 ****
--- 1296,1306 ----
test -f $withval/include/zlib.h && ZLIB_INCLUDE="-I$withval/include"
if test -n "$ZLIB_INCLUDE" ; then
AC_MSG_RESULT(yes)
+ old_LIBS=$LIBS
+ LIBS="$LIBS -L$withval/lib"
AC_CHECK_LIB(z, gzgets, [AC_DEFINE(HAVE_ZLIB) ZLIB_LIBS="-L$withval/lib -lz"],
[AC_MSG_ERROR(Zlib module requires zlib >= 1.0.9.)])
+ LIBS=$old_LIBS
else
AC_MSG_RESULT(no)
fi ;;
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net