[vlc-commits] configure: adjust Growl detection on macOS
Jean-Baptiste Kempf
git at videolan.org
Sat Feb 18 12:53:14 CET 2017
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Feb 18 01:29:50 2017 +0100| [ccfd8211b108706e66f87db1e49cf896f726a105] | committer: Jean-Baptiste Kempf
configure: adjust Growl detection on macOS
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ccfd8211b108706e66f87db1e49cf896f726a105
---
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index d52955b..ccca3ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4131,14 +4131,14 @@ 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], [-F${CONTRIB_DIR} -Wl,-framework,Growl,-framework,Foundation])
VLC_ADD_OBJCFLAGS([osx_notifications], [-F${CONTRIB_DIR}])
VLC_ADD_OBJCFLAGS([osx_notifications], [-fobjc-exceptions] )
- ])
- ]
-)
+ fi
+])
dnl
dnl Libnotify notification plugin
More information about the vlc-commits
mailing list