[vlc-commits] OSX: refuse to build without BGHUDAppKit

Rafaël Carré git at videolan.org
Thu Nov 24 01:35:11 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Nov 23 19:34:39 2011 -0500| [8691e5de24bd884e7a589533b7ea75ffcd1ea1b0] | committer: Rafaël Carré

OSX: refuse to build without BGHUDAppKit

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

 configure.ac |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8b2a350..a169371 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3761,11 +3761,12 @@ then
     VLC_ADD_LIBS([macosx], [-F${CONTRIB_DIR}/Sparkle -Wl,-framework,Sparkle])
     VLC_ADD_OBJCFLAGS([macosx], [-F${CONTRIB_DIR}/Sparkle])
   ])
-  if test -d ${CONTRIB_DIR}/BGHUDAppKit
+  if ! test -d ${CONTRIB_DIR}/BGHUDAppKit.framework
   then
-      VLC_ADD_LIBS([macosx], [-F${CONTRIB_DIR}/BGHUDAppKit -Wl,-framework,BGHUDAppKit])
-      VLC_ADD_OBJCFLAGS([macosx], [-F${CONTRIB_DIR}/BGHUDAppKit])
+    AC_MSG_ERROR([BGHUDAppKit framework is required and was not found in ${CONTRIB_DIR}])
   fi
+  VLC_ADD_LIBS([macosx], [-F${CONTRIB_DIR}/BGHUDAppKit -Wl,-framework,BGHUDAppKit])
+  VLC_ADD_OBJCFLAGS([macosx], [-F${CONTRIB_DIR}/BGHUDAppKit])
 
 fi
 



More information about the vlc-commits mailing list