diff --git a/configure.ac b/configure.ac index 4b6d8ab8..bb926da5 100644 --- a/configure.ac +++ b/configure.ac @@ -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