mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
- Added a patch that changed the checking of which version of libmcrypt is
installed (Thanks to: Anil Madhavapeddy <anil@recoil.org>)
This commit is contained in:
parent
40677872d5
commit
6caa8c37c2
1 changed files with 4 additions and 4 deletions
|
@ -27,11 +27,11 @@ if test "$PHP_MCRYPT" != "no"; then
|
||||||
AC_CHECK_LIB(mcrypt, mcrypt_module_open, [LIBS="$LIBS -lltdl"],[ ],)
|
AC_CHECK_LIB(mcrypt, mcrypt_module_open, [LIBS="$LIBS -lltdl"],[ ],)
|
||||||
LIBS=$old_LIBS
|
LIBS=$old_LIBS
|
||||||
LDFLAGS="$old_LDFLAGS"
|
LDFLAGS="$old_LDFLAGS"
|
||||||
if test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then
|
if test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then
|
||||||
AC_DEFINE(HAVE_LIBMCRYPT22,1,[ ])
|
|
||||||
elif test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then
|
|
||||||
AC_ADD_LIBRARY(ltdl)
|
AC_ADD_LIBRARY(ltdl)
|
||||||
AC_DEFINE(HAVE_LIBMCRYPT24,1,[ ])
|
AC_DEFINE(HAVE_LIBMCRYPT24,1,[ ])
|
||||||
|
elif test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then
|
||||||
|
AC_DEFINE(HAVE_LIBMCRYPT22,1,[ ])
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR(Sorry, I was not able to diagnose which libmcrypt version you have installed.)
|
AC_MSG_ERROR(Sorry, I was not able to diagnose which libmcrypt version you have installed.)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue