X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=c5b0d23a6ff3c8ce91af244c73e55cf803f1e99e;hb=53b00f8c1abda0d477c75e4d70a7341301fa1733;hp=28d94a6260fb26adadb012c7c284692a305a918f;hpb=283c5d1cf07f77d29fc1fc2f09532508f5124679;p=tinc diff --git a/configure.ac b/configure.ac index 28d94a62..c5b0d23a 100644 --- a/configure.ac +++ b/configure.ac @@ -217,16 +217,16 @@ tinc_READLINE tinc_ZLIB tinc_LZO -if test "$with_libgcrypt" = yes; then +if test "x$with_libgcrypt" != "xno"; then gcrypt=true - AM_PATH_LIBGCRYPT([1.4.0], [], []) + tinc_LIBGCRYPT else openssl=true tinc_OPENSSL fi AM_CONDITIONAL(OPENSSL, test -n "$openssl") -AM_CONDITIONAL(GCRYPT, test "$gcrypt" = true) +AM_CONDITIONAL(GCRYPT, test -n "$gcrypt") dnl Check if support for jumbograms is requested AC_ARG_ENABLE(jumbograms,