From 322226c0ce79256720e7684963e3e13965176945 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 17 May 2010 11:08:13 +0200 Subject: [PATCH] Link to libgpg-error to resolve additional symbols when testing for libgcrypt --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index a24a6ebe2..976d99bba 100644 --- a/configure.in +++ b/configure.in @@ -572,7 +572,7 @@ if test x$openssl = xtrue; then fi if test x$gcrypt = xtrue; then - AC_HAVE_LIBRARY([gcrypt],[LIBS="$LIBS"],[AC_MSG_ERROR([gcrypt library not found])]) + AC_HAVE_LIBRARY([gcrypt],[LIBS="$LIBS"],[AC_MSG_ERROR([gcrypt library not found])],[-lgpg-error]) AC_CHECK_HEADER([gcrypt.h],,[AC_MSG_ERROR([gcrypt header gcrypt.h not found!])]) AC_MSG_CHECKING([gcrypt CAMELLIA cipher]) AC_TRY_COMPILE(