]> git.sur5r.net Git - bacula/bacula/commitdiff
More checking for OpenSSL in configure
authorKern Sibbald <kern@sibbald.com>
Fri, 8 Jan 2010 19:32:29 +0000 (20:32 +0100)
committerKern Sibbald <kern@sibbald.com>
Fri, 8 Jan 2010 19:32:29 +0000 (20:32 +0100)
bacula/autoconf/configure.in
bacula/configure

index 0fb1dda81d63b77a579a232f060af2b48b3b4e26..d2906715f9d0c5a5707411ab796129f151a2c322 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)
index c90307875abaf3b9ebcb450224eae853657df82e..0824f9737a92363eb535733d762b1a9a428399e7 100755 (executable)
@@ -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; }