reference appindicator
This commit is contained in:
parent
af0253cabe
commit
82b5b29252
|
@ -19,6 +19,7 @@ using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Timers;
|
using System.Timers;
|
||||||
|
|
||||||
|
using AppIndicator;
|
||||||
using Gtk;
|
using Gtk;
|
||||||
using Mono.Unix;
|
using Mono.Unix;
|
||||||
|
|
||||||
|
|
24
configure.ac
24
configure.ac
|
@ -95,6 +95,30 @@ AC_SUBST(WEBKIT_SHARP_LIBS)
|
||||||
|
|
||||||
SHAMROCK_CHECK_NUNIT
|
SHAMROCK_CHECK_NUNIT
|
||||||
|
|
||||||
|
APPINDICATOR_REQUIRED=0.0.7
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(appindicator,
|
||||||
|
AS_HELP_STRING([--enable-appindicator[=@<:@no/auto/yes@:>@]],[Build support for application indicators ]),
|
||||||
|
[enable_appindicator=$enableval],
|
||||||
|
[enable_appindicator="auto"])
|
||||||
|
|
||||||
|
if test x$enable_appindicator = xauto ; then
|
||||||
|
PKG_CHECK_EXISTS([appindicator-0.1 >= $APPINDICATOR_REQUIRED],
|
||||||
|
enable_appindicator="yes",
|
||||||
|
enable_appindicator="no")
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test x$enable_appindicator = xyes ; then
|
||||||
|
PKG_CHECK_EXISTS([appindicator-0.1 >= $APPINDICATOR_REQUIRED],,
|
||||||
|
AC_MSG_ERROR([appindicator-0.1 is not installed]))
|
||||||
|
PKG_CHECK_MODULES(APP_INDICATOR,
|
||||||
|
appindicator-0.1 >= $APPINDICATOR_REQUIRED)
|
||||||
|
AC_SUBST(APP_INDICATOR_CFLAGS)
|
||||||
|
AC_SUBST(APP_INDICATOR_LIBS)
|
||||||
|
AC_DEFINE(HAVE_APP_INDICATOR, 1, [Have AppIndicator])
|
||||||
|
fi
|
||||||
|
AM_CONDITIONAL(HAVE_APP_INDICATOR, test x"$enable_appindicator" = xyes)
|
||||||
|
|
||||||
dnl Get nautilus extensions directory
|
dnl Get nautilus extensions directory
|
||||||
SPARKLESHARE_NAUTILUS_PYTHON
|
SPARKLESHARE_NAUTILUS_PYTHON
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue