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