summaryrefslogtreecommitdiff
path: root/ext/mcrypt/config.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-09-05 13:18:09 +0000
committerfoobar <sniper@php.net>2001-09-05 13:18:09 +0000
commit032b2631292008146b3a9c779f5dfc717a9ec82d (patch)
tree65977d797f6e0237a557a80b24a841871caa8e54 /ext/mcrypt/config.m4
parentd082fb373d4a2b1cdd336cab5bf4ca574803cdfb (diff)
downloadphp-git-032b2631292008146b3a9c779f5dfc717a9ec82d.tar.gz
Fixes commit / link problems with certain compilers.
# Please use PHP_CHECK_LIBRARY() always instead of AC_CHECK_LIB # if you need to pass extra libs/libpaths to the test.
Diffstat (limited to 'ext/mcrypt/config.m4')
-rw-r--r--ext/mcrypt/config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mcrypt/config.m4 b/ext/mcrypt/config.m4
index 8b26ee67da..e98b77ebf8 100644
--- a/ext/mcrypt/config.m4
+++ b/ext/mcrypt/config.m4
@@ -17,12 +17,12 @@ if test "$PHP_MCRYPT" != "no"; then
AC_MSG_ERROR(mcrypt.h not found. Please reinstall libmcrypt.)
fi
- AC_CHECK_LIB(mcrypt, mcrypt_module_open,
+ PHP_CHECK_LIBRARY(mcrypt, mcrypt_module_open,
[
PHP_ADD_LIBRARY(ltdl,, MCRYPT_SHARED_LIBADD)
AC_DEFINE(HAVE_LIBMCRYPT24,1,[ ])
],[
- AC_CHECK_LIB(mcrypt, init_mcrypt,
+ PHP_CHECK_LIBRARY(mcrypt, init_mcrypt,
[
AC_DEFINE(HAVE_LIBMCRYPT22,1,[ ])
],[