php-src/ext/mcrypt/config.w32
Wez Furlong 0c126e1233 make these build with new win32 build system.
mcve untested (I don't have those libs/headers)
2003-12-19 15:04:31 +00:00

19 lines
440 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);
AC_DEFINE('HAVE_MCRYPT_GENERIC_DEINIT', 1);
} else {
WARNING("mcrypt not enabled; libraries and headers not found");
}
}