Fix broken build with --with-openssl, --with-libgcrypt.
[oweals/tinc.git] / configure.ac
index 8b7c07a6488c9d44a94451336b7995fd09fd0d6d..465a3b4bfcdc8890aedec0a2b53eccdfcf89525d 100644 (file)
@@ -201,8 +201,8 @@ else
        tinc_OPENSSL
 fi
        
-AM_CONDITIONAL(OPENSSL, test "$openssl" = true)
-AM_CONDITIONAL(GCRYPT, test "$grypt" = true)
+AM_CONDITIONAL(OPENSSL, test -n "$openssl")
+AM_CONDITIONAL(GCRYPT, test "$gcrypt" = true)
 
 dnl Check if support for jumbograms is requested 
 AC_ARG_ENABLE(jumbograms,