[vlc-commits] configure: fixed Growl framework detection
    Felix Paul Kühne 
    git at videolan.org
       
    Sun May 15 13:17:04 CEST 2011
    
    
  
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun May 15 13:16:55 2011 +0200| [98e5932df0ad454b3571b0631c925a356d49ea4e] | committer: Felix Paul Kühne
configure: fixed Growl framework detection
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=98e5932df0ad454b3571b0631c925a356d49ea4e
---
 configure.ac |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7b3430e..2cd7059 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1730,14 +1730,14 @@ dnl
 dnl Growl notification plugin
 dnl
 AC_ARG_ENABLE(growl,
-  [AS_HELP_STRING([--enable-growl],
-    [enable growl notifications (default disabled)])],,
-  [enable_growl="no"])
+  [  --enable-growl          growl notification plugin (default disabled)],,
+  [enable_growl=no])
 AS_IF([test "${enable_growl}" != "no"], [
     VLC_ADD_PLUGIN([growl_udp])
-    AC_CHECK_HEADERS(Growl/GrowlDefines.h, [
+    AC_CHECK_HEADERS(${CONTRIB_DIR}/Growl/Growl.framework/Versions/A/Headers/GrowlDefines.h, [
       VLC_ADD_PLUGIN([growl])
-      VLC_ADD_LDFLAGS([growl], [-Wl,-framework,Growl,-framework,AppKit])
+      VLC_ADD_LDFLAGS([growl], [-F${CONTRIB_DIR}/Growl -Wl,-framework,Growl,-framework,CoreFoundation])
+      VLC_ADD_OBJCFLAGS([growl], [-F${CONTRIB_DIR}/Growl])
       VLC_ADD_OBJCFLAGS([growl], [-fobjc-exceptions] )
     ])
   ]
    
    
More information about the vlc-commits
mailing list