cvs: php4 /ext/mcrypt config.m4
| From: | Derick Rethans | Date: | Sun, 20 Aug 2000 17:39:45 +0000 |
| Subject: | cvs: php4 /ext/mcrypt config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1267@lists.php.net to get a copy of this message | ||
derick Sun Aug 20 10:39:45 2000 EDT
Modified files:
/php4/ext/mcrypt config.m4
Log:
- Fix for bug #6263
Index: php4/ext/mcrypt/config.m4
diff -u php4/ext/mcrypt/config.m4:1.11 php4/ext/mcrypt/config.m4:1.12
--- php4/ext/mcrypt/config.m4:1.11 Mon Aug 14 12:17:16 2000
+++ php4/ext/mcrypt/config.m4 Sun Aug 20 10:39:44 2000
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.11 2000/08/14 19:17:16 sas Exp $
+dnl $Id: config.m4,v 1.12 2000/08/20 17:39:44 derick Exp $
dnl config.m4 for extension mcrypt
dnl don't forget to call PHP_EXTENSION(mcrypt)
@@ -20,9 +20,10 @@
AC_ADD_INCLUDE($MCRYPT_DIR/include)
PHP_SUBST(MCRYPT_SHARED_LIBADD)
old_LDFLAGS="$LDFLAGS"
+ old_LIBS=$LIBS
+ LIBS="-lmcrypt"
LDFLAGS="$ld_runpath_switch$MCRYPT_DIR/lib -L$MCRYPT_DIR/lib"
AC_CHECK_LIB(mcrypt, init_mcrypt)
- old_LIBS=$LIBS
LIBS="$LIBS -lltdl"
AC_CHECK_LIB(mcrypt, mcrypt_module_open, [LIBS="$LIBS -lltdl"],[ ],)
LIBS=$old_LIBS