From f1178f3b2975789a08ec46752df87cbae0c05d10 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 8 Jan 2010 20:32:29 +0100 Subject: [PATCH] More checking for OpenSSL in configure --- bacula/autoconf/configure.in | 5 +++++ bacula/configure | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 0fb1dda81d..d2906715f9 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1119,6 +1119,7 @@ if test "x$with_openssl_directory" != "xno"; then support_crypto="yes" ], [ support_tls="no" + support_crypto="no" ] ) @@ -1177,6 +1178,10 @@ if test "$support_tls" = "no"; then OPENSSL_LIBS="" OPENSSL_INC="" fi +if test "$support_crypto" = "no"; then + OPENSSL_LIBS="" + OPENSSL_INC="" +fi AC_MSG_RESULT([$support_tls]) AC_SUBST(OPENSSL_LIBS) diff --git a/bacula/configure b/bacula/configure index c90307875a..0824f9737a 100755 --- a/bacula/configure +++ b/bacula/configure @@ -27053,6 +27053,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 support_tls="no" + support_crypto="no" fi @@ -27213,6 +27214,10 @@ if test "$support_tls" = "no"; then OPENSSL_LIBS="" OPENSSL_INC="" fi +if test "$support_crypto" = "no"; then + OPENSSL_LIBS="" + OPENSSL_INC="" +fi { echo "$as_me:$LINENO: result: $support_tls" >&5 echo "${ECHO_T}$support_tls" >&6; } -- 2.39.5