Fix handling of --with-libgcrypt.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 10 Dec 2013 16:13:15 +0000 (17:13 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 10 Dec 2013 16:13:15 +0000 (17:13 +0100)
configure.ac

index 4b6d8ab840263e0c4a3ca72acf241c31cb783f76..bb926da51cd5839aa3571ce75f30d08713fb8c2f 100644 (file)
@@ -216,7 +216,7 @@ tinc_READLINE
 tinc_ZLIB
 tinc_LZO
 
-if test "x$with_libgcrypt" != "xno"; then
+if test -n "$with_libgcrypt"; then
        gcrypt=true
        tinc_LIBGCRYPT
 else