mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
18 lines
394 B
JavaScript
18 lines
394 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("mcrypt", "mcrypt support", "no");
|
|
|
|
if (PHP_MCRYPT != "no") {
|
|
|
|
if (CHECK_HEADER_ADD_INCLUDE('mcrypt.h', 'CFLAGS_MCRYPT') &&
|
|
CHECK_LIB('libmcrypt.lib', 'mcrypt')) {
|
|
EXTENSION('mcrypt', 'mcrypt.c');
|
|
AC_DEFINE('HAVE_LIBMCRYPT', 1);
|
|
AC_DEFINE('HAVE_LIBMCRYPT24', 1);
|
|
} else {
|
|
WARNING("mcrypt not enabled; libraries and headers not found");
|
|
}
|
|
}
|
|
|