Link to libgpg-error to resolve additional symbols when testing for libgcrypt

This commit is contained in:
Martin Willi 2010-05-17 11:08:13 +02:00
parent ee1bdd85d3
commit 322226c0ce

View File

@ -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(