CVS update: php4/ext/mcrypt
| From: | sas | Date: | Sun, 20 Jun 1999 18:52:41 +0000 |
| Subject: | CVS update: php4/ext/mcrypt | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1612@lists.php.net to get a copy of this message | ||
Date: Sunday June 20, 1999 @ 14:52
Author: sas
Update of /repository/php4/ext/mcrypt
In directory php:/tmp/cvs-serv17490/ext/mcrypt
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/mcrypt/config.m4
diff -u php4/ext/mcrypt/config.m4:1.3 php4/ext/mcrypt/config.m4:1.4
--- php4/ext/mcrypt/config.m4:1.3 Fri May 21 04:20:11 1999
+++ php4/ext/mcrypt/config.m4 Sun Jun 20 14:52:41 1999
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.3 1999/05/21 08:20:11 sas Exp $
+dnl $Id: config.m4,v 1.4 1999/06/20 18:52:41 sas Exp $
dnl config.m4 for extension mcrypt
dnl don't forget to call PHP_EXTENSION(mcrypt)
@@ -16,8 +16,8 @@
if test "$MCRYPT_DIR" = ""; then
AC_MSG_ERROR(Please reinstall libmcrypt - I cannot find mcrypt.h)
fi
- INCLUDES="$INCLUDES -I$MCRYPT_DIR/include"
- EXTRA_LIBS="$EXTRA_LIBS -L$MCRYPT_DIR/lib -lmcrypt"
+ AC_ADD_INCLUDE($MCRYPT_DIR/include)
+ AC_ADD_LIBRARY_WITH_PATH(mcrypt, $MCRYPT_DIR/lib)
AC_DEFINE(HAVE_LIBMCRYPT)