72
72
[CFLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE"]
75
APPINDICATOR_REQUIRED=0.0.7
76
AC_ARG_ENABLE(appindicator,
77
AS_HELP_STRING([--enable-appindicator[=@<:@no/auto/yes@:>@]],[Build support for application indicators ]),
78
[enable_appindicator=$enableval],
79
[enable_appindicator="auto"])
81
if test x$enable_appindicator = xauto ; then
82
PKG_CHECK_EXISTS([appindicator3-0.1 >= $APPINDICATOR_REQUIRED],
83
enable_appindicator="yes",
84
enable_appindicator="no")
87
if test x$enable_appindicator = xyes ; then
88
PKG_CHECK_EXISTS([appindicator3-0.1 >= $APPINDICATOR_REQUIRED],,
89
AC_MSG_ERROR([appindicator3-0.1 is not installed]))
90
PKG_CHECK_MODULES(APP_INDICATOR,
91
appindicator3-0.1 >= $APPINDICATOR_REQUIRED)
92
AC_SUBST(APP_INDICATOR_CFLAGS)
93
AC_SUBST(APP_INDICATOR_LIBS)
94
AC_DEFINE(HAVE_APP_INDICATOR, 1, [Have AppIndicator])
96
AM_CONDITIONAL(HAVE_APP_INDICATOR, test x"$enable_appindicator" = xyes)