CVS update: php31/ext/zlib

From: Date: Mon, 31 Aug 1998 09:33:55 +0000
Subject: CVS update: php31/ext/zlib
Groups: php.dev 
Request: Send a blank email to php-dev+get-692@lists.php.net to get a copy of this message
Date: Monday August 31, 1998 @ 5:33 Author: ssb Update of /repository/php31/ext/zlib In directory asf:/u2/tmp/cvs-serv2726 Modified Files: configure.in.stub Log Message: update zlib configure stub for 3.1. Index: php31/ext/zlib/configure.in.stub diff -c php31/ext/zlib/configure.in.stub:1.2 php31/ext/zlib/configure.in.stub:1.3 *** php31/ext/zlib/configure.in.stub:1.2 Fri Jul 17 13:45:33 1998 --- php31/ext/zlib/configure.in.stub Mon Aug 31 05:33:54 1998 *************** *** 1,19 **** ! dnl $Id: configure.in.stub,v 1.2 1998/07/17 17:45:33 ssb Exp $ -*- sh -*- ! AC_MSG_CHECKING(for zlib support) AC_ARG_WITH(zlib, ! [ --with-zlib Include zlib support (requires zlib >= 1.0.9).], ! [use_zlib=$withval], ! [use_zlib=no]) ! ! AC_MSG_RESULT($use_zlib) ! if test ".$use_zlib" != ".no" ; then ! AC_CHECK_LIB(z, gzgets, [ ! AC_DEFINE(HAVE_ZLIB) ! LDADD="$LDADD -lz" ! EXT_SUBDIRS="$EXT_SUBDIRS zlib" ! ],[ ! AC_MSG_ERROR(Zlib extension requires zlib >= 1.0.9.) ! ]) ! fi ! AC_SUBST(ZLIB_LIBS) --- 1,38 ---- ! dnl $Id: configure.in.stub,v 1.3 1998/08/31 09:33:54 ssb Exp $ -*- sh -*- ! AC_MSG_CHECKING(whether to include zlib support) AC_ARG_WITH(zlib, ! [ --with-zlib[=DIR] Include zlib support (requires zlib >= 1.0.9). ! DIR is the zlib install directory, ! defaults to /usr.], ! [ ! case "$withval" in ! no) ! AC_MSG_RESULT(no) ;; ! yes) ! AC_MSG_RESULT(yes) ! AC_CHECK_LIB(z, gzgets, [ ! AC_DEFINE(HAVE_ZLIB) ZLIB_LIBS="-lz" ! ],[ ! AC_MSG_ERROR(Zlib module requires zlib >= 1.0.9.) ! ]) ;; ! *) ! test -f $withval/include/zlib/zlib.h && \ ! ZLIB_INCLUDE="-I$withval/include/zlib" ! test -f $withval/include/zlib.h && \ ! ZLIB_INCLUDE="-I$withval/include" ! if test -n "$ZLIB_INCLUDE" ; then ! AC_MSG_RESULT(yes) ! AC_CHECK_LIB(z, gzgets, [ ! AC_DEFINE(HAVE_ZLIB) ! ZLIB_LIBS="-lz" ! ],[ ! AC_MSG_ERROR(Zlib module requires zlib >= 1.0.9.) ! ]) ! else ! AC_MSG_RESULT(no) ! fi ;; ! esac ! LDADD="$LDADD $ZLIB_LIBS" ! INCLUDES="$INCLUDES $ZLIB_INCLUDE" ! ]) -- 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

« previous php.dev (#692) next »