From b0f1df3988938b37dd04649918f3c70465299dd5 Mon Sep 17 00:00:00 2001
From: Damien Fouilleul <damienf@videolan.org>
Date: Wed, 25 Jul 2007 15:29:04 +0000
Subject: [PATCH] configure.ac: more fixes...

---
 configure.ac | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1a40645c3280..03edf8bb05b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -318,10 +318,8 @@ dnl
 dnl override platform specific check for dependent libraries
 dnl otherwise libtool linking of shared libraries will
 dnl fail on anything other than pass_all.
-AC_CACHE_CHECK([how to recognize dependent libraries],
-   lt_cv_deplibs_check_method,
-   [lt_cv_deplibs_check_method=pass_all
-])
+AC_CACHE_VAL(lt_cv_deplibs_check_method,
+    [lt_cv_deplibs_check_method=pass_all])
 
 AC_DISABLE_STATIC
 AC_LIBTOOL_DLOPEN
@@ -5471,8 +5469,8 @@ AS_IF([test "${enable_gnutls}" != "no"], [
     ])
   ])
   AC_CHECK_LIB([gcrypt], [gcry_control], [
-    VLC_ADD_LDFLAGS([gnutls], [-lgcrypt])
-  ])
+    VLC_ADD_LDFLAGS([gnutls], [-lgcrypt -lgpg-error])
+  ], [], [-lgpg-error])
 ])
 
 dnl
-- 
GitLab