From ccfd8211b108706e66f87db1e49cf896f726a105 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sat, 18 Feb 2017 01:29:50 +0100 Subject: [PATCH] configure: adjust Growl detection on macOS --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index d52955b1a4..ccca3ce42e 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 -- 2.11.4.GIT