projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add our own autoconf check for libgcrypt.
[tinc]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
28d94a6
..
c5b0d23
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-217,16
+217,16
@@
tinc_READLINE
tinc_ZLIB
tinc_LZO
tinc_ZLIB
tinc_LZO
-if test "
$with_libgcrypt" = yes
; then
+if test "
x$with_libgcrypt" != "xno"
; then
gcrypt=true
gcrypt=true
- AM_PATH_LIBGCRYPT([1.4.0], [], [])
+ tinc_LIBGCRYPT
else
openssl=true
tinc_OPENSSL
fi
AM_CONDITIONAL(OPENSSL, test -n "$openssl")
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,
dnl Check if support for jumbograms is requested
AC_ARG_ENABLE(jumbograms,