aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-11 18:47:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-11 18:47:22 +0000
commitdf3ca59116bff161c0fa44b1af7915dc8c1da20e (patch)
tree78cd642bed5cdd48235ce22d3f2753caa55db001 /packages
parent3ca4509ae958d972c71bb72c7e351164b7e45145 (diff)
Dan Fandrich:
Here's a stab at a consolidation of the SSL detection heuristics into configure. Source files aren't changed by this patch, except for setup.h and the various config*.h files. Within the configure script, OPENSSL_ENABLED is used to determine if SSL is being used or not, and outside configure, USE_SSLEAY means the same thing; this could be even further unified some day. Now, when SSL is not detected, configure skips the various checks that are dependent on SSL, speeding up the configure process and avoiding complications with cross compiles. I also updated all the architecture- specific config files I could see, but I couldn't test them.
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/vms/config-vms.h_with_ssl7
-rwxr-xr-xpackages/vms/config-vms.h_without_ssl7
2 files changed, 10 insertions, 4 deletions
diff --git a/packages/vms/config-vms.h_with_ssl b/packages/vms/config-vms.h_with_ssl
index e47acbe61..e3bc60dac 100755
--- a/packages/vms/config-vms.h_with_ssl
+++ b/packages/vms/config-vms.h_with_ssl
@@ -123,8 +123,11 @@
/* OpenSSL section starts here */
/* Define if you have a working OpenSSL installation */
-#define OPENSSL_ENABLED 1
-#ifdef OPENSSL_ENABLED
+#define USE_SSLEAY 1
+#ifdef USE_SSLEAY
+
+/* if OpenSSL is in use */
+#define USE_OPENSSL 1
/* Define if you have the crypto library (-lcrypto). */
#define HAVE_LIBCRYPTO 1
diff --git a/packages/vms/config-vms.h_without_ssl b/packages/vms/config-vms.h_without_ssl
index 5b87c1dd2..d7649bb83 100755
--- a/packages/vms/config-vms.h_without_ssl
+++ b/packages/vms/config-vms.h_without_ssl
@@ -123,8 +123,11 @@
/* OpenSSL section starts here */
/* Define if you have a working OpenSSL installation */
-#undef OPENSSL_ENABLED
-#ifdef OPENSSL_ENABLED
+#undef USE_SSLEAY
+#ifdef USE_SSLEAY
+
+/* if OpenSSL is in use */
+#define USE_OPENSSL 1
/* Define if you have the crypto library (-lcrypto). */
#define HAVE_LIBCRYPTO 1