cvs: php4 /ext/mcrypt config.m4
| From: | Derick Rethans | Date: | Fri, 15 Dec 2000 15:35:48 +0000 |
| Subject: | cvs: php4 /ext/mcrypt config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3178@lists.php.net to get a copy of this message | ||
derick Fri Dec 15 07:35:48 2000 EDT
Modified files:
/php4/ext/mcrypt config.m4
Log:
- Added a patch that changed the checking of which version of libmcrypt is
installed (Thanks to: Anil Madhavapeddy <anil@recoil.org>)
Index: php4/ext/mcrypt/config.m4
diff -u php4/ext/mcrypt/config.m4:1.14 php4/ext/mcrypt/config.m4:1.15
--- php4/ext/mcrypt/config.m4:1.14 Sat Sep 9 05:24:20 2000
+++ php4/ext/mcrypt/config.m4 Fri Dec 15 07:35:48 2000
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.14 2000/09/09 12:24:20 derick Exp $
+dnl $Id: config.m4,v 1.15 2000/12/15 15:35:48 derick Exp $
dnl config.m4 for extension mcrypt
dnl don't forget to call PHP_EXTENSION(mcrypt)
@@ -27,11 +27,11 @@
AC_CHECK_LIB(mcrypt, mcrypt_module_open, [LIBS="$LIBS -lltdl"],[ ],)
LIBS=$old_LIBS
LDFLAGS="$old_LDFLAGS"
- if test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then
- AC_DEFINE(HAVE_LIBMCRYPT22,1,[ ])
- elif test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then
+ if test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then
AC_ADD_LIBRARY(ltdl)
- AC_DEFINE(HAVE_LIBMCRYPT24,1,[ ])
+ AC_DEFINE(HAVE_LIBMCRYPT24,1,[ ])
+ elif test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then
+ AC_DEFINE(HAVE_LIBMCRYPT22,1,[ ])
else
AC_MSG_ERROR(Sorry, I was not able to diagnose which libmcrypt version you have installed.)
fi