[vlc-commits] configure: adjust Growl detection on macOS
Jean-Baptiste Kempf
git at videolan.org
Sat Feb 18 01:30:25 CET 2017
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Feb 18 01:29:50 2017 +0100| [f875dd070060b7edea5aa11e87b9e7af0926dc8e] | committer: Jean-Baptiste Kempf
configure: adjust Growl detection on macOS
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f875dd070060b7edea5aa11e87b9e7af0926dc8e
---
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index fee99c6..bc40593 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4131,13 +4131,13 @@ AC_ARG_ENABLE(osx_notifications,
[ --enable-osx-notifications osx notification plugin (default disabled)],,
[enable_osx_notifications=no])
AS_IF([test "${enable_osx_notifications}" != "no"], [
- AC_CHECK_HEADERS(${CONTRIB_DIR}/Growl.framework/Versions/A/Headers/Growl.h, [
+ if test ! -d ${CONTRIB_DIR}/Growl.framework -a ! -d ${CONTRIB_DIR}/Frameworks/Growl.framework
+ then
VLC_ADD_PLUGIN([osx_notifications])
VLC_ADD_LIBS([osx_notifications], [-Wl,-framework,Growl,-framework,Foundation])
VLC_ADD_OBJCFLAGS([osx_notifications], [-fobjc-exceptions] )
- ])
- ]
-)
+ fi
+])
dnl
dnl Libnotify notification plugin
More information about the vlc-commits
mailing list