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
]
)
+ 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])
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)