mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
18 lines
447 B
JavaScript
18 lines
447 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("openssl", "OpenSSL support", "no");
|
|
|
|
if (PHP_OPENSSL != "no") {
|
|
if (CHECK_LIB("ssleay32.lib", "openssl", PHP_OPENSSL) &&
|
|
CHECK_LIB("libeay32.lib", "openssl", PHP_OPENSSL) &&
|
|
CHECK_HEADER_ADD_INCLUDE("openssl/ssl.h", "CFLAGS_OPENSSL")) {
|
|
EXTENSION("openssl", "openssl.c xp_ssl.c");
|
|
|
|
AC_DEFINE("HAVE_OPENSSL_EXT", PHP_OPENSSL_SHARED ? 0 : 1, "Have openssl");
|
|
AC_DEFINE("HAVE_OPENSSL", 1);
|
|
}
|
|
}
|
|
|
|
|