php-src/ext/openssl/config.w32
Anatol Belski f504e9eb72 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  Support also no,shared configure arg vals by default
2017-04-24 16:22:16 +02:00

27 lines
507 B
JavaScript

// $Id$
// vim:ft=javascript
ARG_WITH("openssl", "OpenSSL support", "no,shared");
if (PHP_OPENSSL != "no") {
var ret = SETUP_OPENSSL("openssl", PHP_OPENSSL);
if (ret > 0) {
EXTENSION("openssl", "openssl.c xp_ssl.c");
AC_DEFINE("HAVE_OPENSSL_EXT", PHP_OPENSSL_SHARED ? 0 : 1, "Have openssl");
AC_DEFINE("HAVE_OPENSSL", 1);
switch (ret) {
/* Openssl 1.0.x and lower */
case 1:
AC_DEFINE("HAVE_DSA_DEFAULT_METHOD", 1);
break;
/* Openssl 1.1.x */
case 2:
break;
}
}
}