CVS update: php4/ext/mhash

From: Date: Sun, 20 Jun 1999 18:52:41 +0000
Subject: CVS update: php4/ext/mhash
Groups: php.version4 
Request: Send a blank email to php-version4+get-1613@lists.php.net to get a copy of this message
Date: Sunday June 20, 1999 @ 14:52 Author: sas Update of /repository/php4/ext/mhash In directory php:/tmp/cvs-serv17490/ext/mhash Modified Files: config.m4 Log Message: Introduce AC_ADD_* macros The use of AC_EXPAND_PATH makes it possible to continue to use relative paths when configuring PHP. (e.g. --with-apache=../apache-1.3.x works again) Index: php4/ext/mhash/config.m4 diff -u php4/ext/mhash/config.m4:1.2 php4/ext/mhash/config.m4:1.3 --- php4/ext/mhash/config.m4:1.2 Fri May 21 16:09:22 1999 +++ php4/ext/mhash/config.m4 Sun Jun 20 14:52:41 1999 @@ -1,4 +1,4 @@ -dnl $Id: config.m4,v 1.2 1999/05/21 20:09:22 sas Exp $ +dnl $Id: config.m4,v 1.3 1999/06/20 18:52:41 sas Exp $ dnl config.m4 for extension mhash dnl don't forget to call PHP_EXTENSION(mhash) @@ -16,8 +16,8 @@ if test "$MHASH_DIR" = ""; then AC_MSG_ERROR(Please reinstall libmhash - I cannot find mhash.h) fi - INCLUDES="$INCLUDES -I$MHASH_DIR/include" - EXTRA_LIBS="$EXTRA_LIBS -L$MHASH_DIR/lib -lmhash" + AC_ADD_INCLUDE($MHASH_DIR/include) + AC_ADD_LIBRARY_WITH_PATH(mhash, $MHASH_DIR/lib) AC_DEFINE(HAVE_LIBMHASH)

« previous php.version4 (#1613) next »