aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac5
-rwxr-xr-xpackages/vms/config-vms.h_with_ssl2
-rwxr-xr-xpackages/vms/config-vms.h_without_ssl2
3 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index d7f4c1f45..3cff1e1da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -806,10 +806,11 @@ else
fi
fi
+ if test X"$OPENSSL_ENABLED" = X"1"; then
+ AC_DEFINE(USE_SSLEAY, 1, [if SSL is enabled])
+ fi
USE_SSLEAY="$OPENSSL_ENABLED"
- AC_DEFINE_UNQUOTED(USE_SSLEAY, $USE_SSLEAY, [if SSL is enabled])
AC_SUBST(USE_SSLEAY)
- AC_SUBST(USE_OPENSSL)
if test X"$OPT_SSL" != Xoff &&
test "$OPENSSL_ENABLED" != "1"; then
diff --git a/packages/vms/config-vms.h_with_ssl b/packages/vms/config-vms.h_with_ssl
index e3bc60dac..0d737ec3f 100755
--- a/packages/vms/config-vms.h_with_ssl
+++ b/packages/vms/config-vms.h_with_ssl
@@ -160,7 +160,7 @@
*/
#define HAVE_OPENSSL_ENGINE_H 1
-#endif /* OPENSSL_ENABLED */
+#endif /* USE_SSLEAY */
/* OpenSSL section ends here */
/* Define if you have the <pwd.h> header file. */
diff --git a/packages/vms/config-vms.h_without_ssl b/packages/vms/config-vms.h_without_ssl
index d7649bb83..00dc673df 100755
--- a/packages/vms/config-vms.h_without_ssl
+++ b/packages/vms/config-vms.h_without_ssl
@@ -160,7 +160,7 @@
*/
#define HAVE_OPENSSL_ENGINE_H 1
-#endif /* OPENSSL_ENABLED */
+#endif /* USE_SSLEAY */
/* OpenSSL section ends here */
/* Define if you have the <pwd.h> header file. */