1
AC_DEFUN([BCE_APPINDICATOR],
3
BCE_ARG_DISABLE([AppIndicator], [try])
5
BCE_CHECK_EXTENSION_DEP([AppIndicator], [APPINDICATORSHARP],
6
[appindicator-sharp-0.1],
7
[AppIndicator-sharp was not found. Please install it or disable the AppIndicator extension by passing --disable-appindicator])
9
BCE_CHECK_EXTENSION_DEP([AppIndicator], [NOTIFYSHARP],
11
[Notify-sharp was not found. Please install it or disable the AppIndicator extension by passing --disable-appindicator])
13
if test "x$enable_AppIndicator" = "xtry" \
14
&& test "x$have_APPINDICATORSHARP" = "xyes" \
15
&& test "x$have_NOTIFYSHARP" = "xyes"; then
16
enable_AppIndicator=yes
19
if test "x$enable_AppIndicator" = "xyes"; then
20
AM_CONDITIONAL(ENABLE_APPINDICATOR, true)
22
enable_AppIndicator=no
23
AM_CONDITIONAL(ENABLE_APPINDICATOR, false)