xref: /PHP-5.4/ext/openssl/config.w32 (revision 8df326e0)
1// $Id$
2// vim:ft=javascript
3
4ARG_WITH("openssl", "OpenSSL support", "no");
5
6if (PHP_OPENSSL != "no") {
7	if (CHECK_LIB("ssleay32.lib", "openssl", PHP_OPENSSL) &&
8			CHECK_LIB("libeay32.lib", "openssl", PHP_OPENSSL) &&
9			CHECK_HEADER_ADD_INCLUDE("openssl/ssl.h", "CFLAGS_OPENSSL")) {
10		EXTENSION("openssl", "openssl.c xp_ssl.c");
11
12		AC_DEFINE("HAVE_OPENSSL_EXT", PHP_OPENSSL_SHARED ? 0 : 1, "Have openssl");
13		AC_DEFINE("HAVE_OPENSSL", 1);
14		AC_DEFINE("HAVE_DSA_DEFAULT_METHOD", 1);
15	}
16}
17
18
19