From: Kern Sibbald Date: Fri, 8 Jan 2010 19:32:29 +0000 (+0100) Subject: More checking for OpenSSL in configure X-Git-Tag: Release-7.0.0~2409 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f1178f3b2975789a08ec46752df87cbae0c05d10;p=bacula%2Fbacula More checking for OpenSSL in configure --- 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; }