Annotation of embedaddon/php/ext/mcrypt/config.w32, revision 1.1.1.2
1.1.1.2 ! misho 1: // $Id$
1.1 misho 2: // vim:ft=javascript
3:
4: ARG_WITH("mcrypt", "mcrypt support", "no");
5:
6: if (PHP_MCRYPT != "no") {
7:
8: if (CHECK_HEADER_ADD_INCLUDE('mcrypt.h', 'CFLAGS_MCRYPT') &&
9: CHECK_LIB('libmcrypt_a.lib;libmcrypt.lib', 'mcrypt') &&
10: CHECK_LIB('Advapi32.lib', 'mcrypt')
11: ) {
12:
13: EXTENSION('mcrypt', 'mcrypt.c mcrypt_filter.c', false);
14: AC_DEFINE('HAVE_LIBMCRYPT', 1);
15: AC_DEFINE('HAVE_LIBMCRYPT24', 1);
16: } else {
17: WARNING("mcrypt not enabled; libraries and headers not found");
18: }
19: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>