do not depend on gcrypt autoconf macros

This commit is contained in:
Martin Willi
2009-08-31 13:14:54 +02:00
parent 8706a151ff
commit 1d39663f7a
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -1111,7 +1111,8 @@ if test x$openssl = xtrue; then
fi
if test x$gcrypt = xtrue; then
AM_PATH_LIBGCRYPT(,,[AC_MSG_ERROR([libgcrypt not found!])])
AC_HAVE_LIBRARY([gcrypt],[LIBS="$LIBS"],[AC_MSG_ERROR([gcrypt library not found])])
AC_CHECK_HEADER([gcrypt.h],,[AC_MSG_ERROR([gcrypt header gcrypt.h not found!])])
AC_MSG_CHECKING([gcrypt CAMELLIA cipher])
AC_TRY_COMPILE(
[#include <gcrypt.h>],