From f5f7902fe8e2492c08c484ebf836f67d17c6c0f7 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Mon, 29 Aug 2011 22:18:01 +0200 Subject: [PATCH] Tweak configure so output of openssl test is somewhat cleaner. --- bacula/autoconf/configure.in | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 80d6a979a8..479accd9be 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -835,7 +835,7 @@ if test x$support_conio = xyes; then support_readline=no AC_DEFINE(HAVE_CONIO, 1, [Set if Bacula conio support enabled]) else - echo " "; echo "Required libraries not found. CONIO turned off ..."; echo " "], + echo " "; echo "Required libraries not found. CONIO turned off ..."; echo " " fi fi @@ -1171,6 +1171,7 @@ if test "x$with_openssl_directory" != "xno"; then ] ) + AC_MSG_RESULT([$support_tls]) if test "$support_tls" = "yes"; then AC_DEFINE(HAVE_OPENSSL, 1, [Define if OpenSSL library is available]) AC_DEFINE(HAVE_TLS, 1, [Define if TLS support should be enabled]) @@ -1194,19 +1195,13 @@ if test "x$with_openssl_directory" != "xno"; then else support_tls="no" support_crypto="no" - OPENSSL_LIBS="" - OPENSSL_INC="" + AC_MSG_RESULT([$support_tls]) fi -AC_MSG_RESULT([$support_tls]) -if test "$support_tls" = "no"; then +if test "$support_tls" = "no" -o "$support_crypto" = "no"; then OPENSSL_LIBS="" OPENSSL_INC="" -fi -if test "$support_crypto" = "no"; then - OPENSSL_LIBS="" - OPENSSL_INC="" -fi +fi AC_SUBST(OPENSSL_LIBS) AC_SUBST(OPENSSL_INC) -- 2.39.5