summaryrefslogtreecommitdiff
path: root/ext/openssl/config.w32
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/config.w32')
-rw-r--r--ext/openssl/config.w3218
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/openssl/config.w32 b/ext/openssl/config.w32
new file mode 100644
index 0000000..49edb06
--- /dev/null
+++ b/ext/openssl/config.w32
@@ -0,0 +1,18 @@
+// $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);
+ AC_DEFINE("HAVE_DSA_DEFAULT_METHOD", 1);
+ }
+}
+
+