]> granicus.if.org Git - php/commitdiff
- Reversed last 'fix'
authorDerick Rethans <derick@php.net>
Mon, 21 Aug 2000 07:24:55 +0000 (07:24 +0000)
committerDerick Rethans <derick@php.net>
Mon, 21 Aug 2000 07:24:55 +0000 (07:24 +0000)
# Sascha suggested that it must be corrected in wuth mcal

ext/mcrypt/config.m4

index 69cc91ff32d7e36352b2407efcaa7c73084fe34e..649817a76e09ee92c02b4647470d64cf6d4fb197 100644 (file)
@@ -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