diff options
-rw-r--r-- | ext/mcrypt/config.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/mcrypt/config.m4 b/ext/mcrypt/config.m4 index e98b77ebf8..ae04910373 100644 --- a/ext/mcrypt/config.m4 +++ b/ext/mcrypt/config.m4 @@ -30,6 +30,14 @@ if test "$PHP_MCRYPT" != "no"; then ],[ -L$MCRYPT_DIR/lib ]) + + PHP_CHECK_LIBRARY(mcrypt, mcrypt_generic_deinit, + [ + AC_DEFINE(HAVE_MCRYPT_GENERIC_DEINIT,1,[ ]) + ],[],[ + -L$MCRYPT_DIR/lib + ]) + ],[ -L$MCRYPT_DIR/lib -lltdl ]) |