]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/autoconf/configure.in
Merge my changes and previous ones
[bacula/bacula] / bacula / autoconf / configure.in
index c6e331e25c866fb9bf3d5df51676fe9dd161b117..6104a31284a2c217d3f42f5524c3b66fec341840 100644 (file)
@@ -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)