1// $Id$ 2// vim:ft=javascript 3 4ARG_WITH("openssl", "OpenSSL support", "no"); 5 6if (PHP_OPENSSL != "no") { 7 if (CHECK_LIB("ssleay32.lib", "openssl", PHP_OPENSSL) && 8 CHECK_LIB("libeay32.lib", "openssl", PHP_OPENSSL) && 9 CHECK_LIB("crypt32.lib", "openssl") && 10 CHECK_HEADER_ADD_INCLUDE("openssl/ssl.h", "CFLAGS_OPENSSL")) { 11 EXTENSION("openssl", "openssl.c xp_ssl.c"); 12 13 AC_DEFINE("HAVE_OPENSSL_EXT", PHP_OPENSSL_SHARED ? 0 : 1, "Have openssl"); 14 AC_DEFINE("HAVE_OPENSSL", 1); 15 AC_DEFINE("HAVE_DSA_DEFAULT_METHOD", 1); 16 } 17} 18 19 20