]> git.sesse.net Git - vlc/commitdiff
configure: have_libgcrypt = yes in enable_gnutls section
authorDaniel Mierswa <impulze@impulze.org>
Mon, 21 Feb 2011 17:32:12 +0000 (18:32 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 21 Feb 2011 19:27:37 +0000 (20:27 +0100)
Signed-off-by: Daniel Mierswa <impulze@impulze.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
configure.ac

index e74951ef9afc2d2857141fd532b5d3a700ac3fb3..de39f2d4e70bf3fe61fd5edc3018f1356e74a94e 100644 (file)
@@ -4045,11 +4045,8 @@ AS_IF([test "${enable_gnutls}" != "no"], [
       dnl pkg-config --libs gnutls omits these
       VLC_ADD_LIBS([gnutls], [-lz ${LTLIBINTL}])
     ])
-    dnl The GnuTLS plugin invokes gcry_control directly.
-    AS_IF([test "${have_libgcrypt}" = "yes"],[
-      VLC_ADD_LIBS([gnutls], [${GCRYPT_LIBS}])
-      VLC_ADD_CFLAGS([gnutls], [${GCRYPT_CFLAGS}])
-    ])
+    VLC_ADD_LIBS([gnutls], [${GCRYPT_LIBS}])
+    VLC_ADD_CFLAGS([gnutls], [${GCRYPT_CFLAGS}])
     VLC_ADD_LIBS([gnutls], [$GNUTLS_LIBS])
   ], [
     AS_IF([test "${enable_gnutls}" = "yes"], [