[vlc-commits] contrib: use gcrypt for gnutls on OSX too

Rafaël Carré git at videolan.org
Wed Nov 23 03:45:57 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Nov 22 21:45:36 2011 -0500| [bf9ab95562dae4fd7d4396cb4ab7474771b6674f] | committer: Rafaël Carré

contrib: use gcrypt for gnutls on OSX too

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bf9ab95562dae4fd7d4396cb4ab7474771b6674f
---

 contrib/TODO                 |   17 +----------------
 contrib/src/gnutls/rules.mak |    8 ++++++++
 2 files changed, 9 insertions(+), 16 deletions(-)

diff --git a/contrib/TODO b/contrib/TODO
index 3de60af..48e4029 100644
--- a/contrib/TODO
+++ b/contrib/TODO
@@ -1,20 +1,7 @@
-binary package creation/downloading/extraction (prebuilt contribs)
+binary package downloading/extraction (prebuilt contribs)
 
 ### Software that fails to build on MacOSX intel
 
-        for 64 bits only:
-nettle
-    undefined symbols when making lib
-
-
-        for 32 bits only:
-
-gmp
-    tmp-dive_1.s:108:junk `@GOT' after expression
-
-
-        for 32 and 64 bits
-
 SDL_image
     Undefined symbols (missing OpenGL framework?)
 
@@ -27,10 +14,8 @@ gnutls, gpg-error
 live555
     use old libtool options (/usr/bin/libtool), we use GNU
 
-
 ### Missing software for MacOSX (was present in extras/contrib)
 
-
 # These 3 are binary framework downloads : no source code is used
 BGHUDAppKit
 Growl           -- last free version: 1.3.0: http://code.google.com/p/growl/source/list http://itunes.apple.com/us/app/growl/id467939042
diff --git a/contrib/src/gnutls/rules.mak b/contrib/src/gnutls/rules.mak
index 4fc52d1..7f19895 100644
--- a/contrib/src/gnutls/rules.mak
+++ b/contrib/src/gnutls/rules.mak
@@ -32,7 +32,15 @@ GNUTLS_CONF := \
 	--disable-guile \
 	$(HOSTCONF)
 
+USE_GCRYPT=0
 ifdef HAVE_WIN32
+USE_GCRYPT=1
+endif
+ifdef HAVE_MACOSX
+USE_GCRYPT=1
+endif
+
+ifeq (1,$(USE_GCRYPT))
 GNUTLS_CONF += --with-libgcrypt
 DEPS_gnutls = gcrypt $(DEPS_gcrypt)
 else



More information about the vlc-commits mailing list