xref: /PHP-7.1/ext/openssl/config.w32 (revision 03f3b847)
1// $Id$
2// vim:ft=javascript
3
4ARG_WITH("openssl", "OpenSSL support", "no,shared");
5
6if (PHP_OPENSSL != "no") {
7	var ret = SETUP_OPENSSL("openssl", PHP_OPENSSL);
8
9	if (ret > 0) {
10		EXTENSION("openssl", "openssl.c xp_ssl.c");
11		AC_DEFINE("HAVE_OPENSSL_EXT", PHP_OPENSSL_SHARED ? 0 : 1, "Have openssl");
12		AC_DEFINE("HAVE_OPENSSL", 1);
13
14		switch (ret) {
15			/* Openssl 1.0.x and lower */
16			case 1:
17				AC_DEFINE("HAVE_DSA_DEFAULT_METHOD", 1);
18				break;
19			/* Openssl 1.1.x */
20			case 2:
21				break;
22		}
23	}
24}
25