From: Wez Furlong Date: Fri, 5 Dec 2003 23:13:30 +0000 (+0000) Subject: openssl support for the new build X-Git-Tag: php-5.0.0b3RC1~272 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43b0ae0a04669c754f2aab05b74e871972033f63;p=php openssl support for the new build --- diff --git a/ext/openssl/config.w32 b/ext/openssl/config.w32 new file mode 100644 index 0000000000..98dc852ee8 --- /dev/null +++ b/ext/openssl/config.w32 @@ -0,0 +1,17 @@ +// $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); + } +} + +