Define an automake conditional iff libgcrypt is used.

This commit is contained in:
Simon Josefsson 2007-01-16 15:13:50 +00:00
parent 79761a6455
commit 5443c76c8e

View File

@ -55,6 +55,7 @@ if test "$use_libgcrypt" != "no"; then
LDFLAGS="$LDFLAGS $LIBGCRYPT_LIBS"
AC_DEFINE(LIBSSH2_LIBGCRYPT, 1, [Use libgcrypt])
fi
AM_CONDITIONAL(LIBGCRYPT, test "$use_libgcrypt" != "no")
#
# Look for OpenSSL