Date: 12/14/00
- Next message: Derick Rethans: "Re: [PHP-DEV] libmcrypt patch"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] Sixth Release Candidate Up"
- Next in thread: Derick Rethans: "Re: [PHP-DEV] libmcrypt patch"
- Reply: Derick Rethans: "Re: [PHP-DEV] libmcrypt patch"
- Maybe reply: Anil Madhavapeddy: "Re: [PHP-DEV] libmcrypt patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I needed the following patch to get libmcrypt to work (OpenBSD 2.8,
libmcrypt-2.4.7 from ports, php_4_0_4 branch).
I think that init_mcrypt exists in both the 2.2.x and 2.4.x versions
of libmcrypt, hence the misdetection. If someone with 2.2.x could
test this patch and make sure it works that would be great (you'll
have to rerun buildconf after applying this).
-- Anil Madhavapeddy, <anil <email protected>>
Index: ext/mcrypt/config.m4 =================================================================== RCS file: /repository/php4/ext/mcrypt/config.m4,v retrieving revision 1.14 diff -u -r1.14 config.m4 --- ext/mcrypt/config.m4 2000/09/09 12:24:20 1.14 +++ ext/mcrypt/config.m4 2000/12/14 20:22:53 @@ -27,11 +27,11 @@ AC_CHECK_LIB(mcrypt, mcrypt_module_open, [LIBS="$LIBS -lltdl"],[ ],) LIBS=$old_LIBS LDFLAGS="$old_LDFLAGS" - if test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then - AC_DEFINE(HAVE_LIBMCRYPT22,1,[ ]) - elif test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then + if test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then AC_ADD_LIBRARY(ltdl) AC_DEFINE(HAVE_LIBMCRYPT24,1,[ ]) + elif test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then + AC_DEFINE(HAVE_LIBMCRYPT22,1,[ ]) else AC_MSG_ERROR(Sorry, I was not able to diagnose which libmcrypt version you have installed.) fi
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Derick Rethans: "Re: [PHP-DEV] libmcrypt patch"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] Sixth Release Candidate Up"
- Next in thread: Derick Rethans: "Re: [PHP-DEV] libmcrypt patch"
- Reply: Derick Rethans: "Re: [PHP-DEV] libmcrypt patch"
- Maybe reply: Anil Madhavapeddy: "Re: [PHP-DEV] libmcrypt patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

