From: Martin Willi Date: Mon, 17 May 2010 09:08:13 +0000 (+0200) Subject: Link to libgpg-error to resolve additional symbols when testing for libgcrypt X-Git-Tag: 4.4.1~260 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=322226c0ce79256720e7684963e3e13965176945;p=thirdparty%2Fstrongswan.git Link to libgpg-error to resolve additional symbols when testing for libgcrypt --- diff --git a/configure.in b/configure.in index a24a6ebe26..976d99bba8 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(