summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2000-08-21 07:24:55 +0000
committerDerick Rethans <derick@php.net>2000-08-21 07:24:55 +0000
commit82115ea03984b8c7d79f12aa78c0af0f40624882 (patch)
tree3f77ede4ae8c6a68788d35aaf9b4ba8998f5a743
parent99d3b9bfe82f7852b1d2b06af34c9d9b009a3f4c (diff)
downloadphp-git-82115ea03984b8c7d79f12aa78c0af0f40624882.tar.gz
- Reversed last 'fix'
# Sascha suggested that it must be corrected in wuth mcal
-rw-r--r--ext/mcrypt/config.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/mcrypt/config.m4 b/ext/mcrypt/config.m4
index 69cc91ff32..649817a76e 100644
--- a/ext/mcrypt/config.m4
+++ b/ext/mcrypt/config.m4
@@ -20,10 +20,9 @@ if test "$PHP_MCRYPT" != "no"; then
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