]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Make sure libgcrypt's dependency on libgpg-error is known.
authorSimon Josefsson <simon@josefsson.org>
Thu, 5 Nov 2009 13:12:16 +0000 (14:12 +0100)
committerSimon Josefsson <simon@josefsson.org>
Thu, 5 Nov 2009 13:12:16 +0000 (14:12 +0100)
lib/m4/hooks.m4

index 2973d6dfdaa7b5bf76379b47e45ec49cc05c1df9..8e3ec92b5b611323d5d1c5aefd6c3db33b588e2f 100644 (file)
@@ -34,7 +34,7 @@ AC_DEFUN([LIBGNUTLS_HOOKS],
   DLL_VERSION=`expr ${LT_CURRENT} - ${LT_AGE}`
   AC_SUBST(DLL_VERSION)
 
-  AC_LIB_HAVE_LINKFLAGS(gcrypt,, [#include <gcrypt.h>],
+  AC_LIB_HAVE_LINKFLAGS([gcrypt], [gpg-error], [#include <gcrypt.h>],
     [enum gcry_cipher_algos i = GCRY_CIPHER_CAMELLIA128])
   if test "$ac_cv_libgcrypt" != yes; then
     AC_MSG_ERROR([[