From dfcb0f520829a325074bce3b26f883250287d63f Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Wed, 28 Aug 2002 23:09:05 +0000 Subject: [PATCH] define HAVE_OPENSSL even if we got to hear about it by krb4 git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11306 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/crypto.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cf/crypto.m4 b/cf/crypto.m4 index e4396356e..14753a262 100644 --- a/cf/crypto.m4 +++ b/cf/crypto.m4 @@ -53,7 +53,6 @@ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then RC4(0, 0, 0, 0); ], [ crypto_lib=libcrypto openssl=yes - AC_DEFINE([HAVE_OPENSSL], 1, [define to use openssl's libcrypto]) AC_MSG_RESULT([libcrypto])]) CPPFLAGS="$save_CPPFLAGS" LIBS="$save_LIBS" @@ -185,6 +184,9 @@ if test "$crypto_lib" = "unknown"; then fi +if test "$openssl" = "yes"; then + AC_DEFINE([HAVE_OPENSSL], 1, [define to use openssl's libcrypto]) +fi AM_CONDITIONAL(HAVE_OPENSSL, test "$openssl" = yes)dnl AC_SUBST(DIR_des)