diff options
author | Stefano Karapetsas <[email protected]> | 2011-12-24 16:51:19 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2011-12-24 16:51:19 +0100 |
commit | 18e3f4648a7ae10486c6d65af5aa44bb9aa312a6 (patch) | |
tree | 01d1266a0cb6c949ac511366158c432a6c4a96d9 /configure.ac | |
parent | e07da1c8e7e0f84d028794ef7a4fc4b190118ae8 (diff) | |
download | mate-indicator-applet-18e3f4648a7ae10486c6d65af5aa44bb9aa312a6.tar.bz2 mate-indicator-applet-18e3f4648a7ae10486c6d65af5aa44bb9aa312a6.tar.xz |
fixed build in debian
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 715843a..0598ac7 100644 --- a/configure.ac +++ b/configure.ac @@ -31,10 +31,22 @@ INDICATOR_REQUIRED_VERSION=0.3.22 PKG_CHECK_MODULES(APPLET, gtk+-2.0 >= $GTK_REQUIRED_VERSION x11 libmatepanelapplet-3.0 - indicator-0.4 >= $INDICATOR_REQUIRED_VERSION) + ) AC_SUBST(APPLET_CFLAGS) AC_SUBST(APPLET_LIBS) +PKG_CHECK_MODULES([INDICATOR4], [indicator-0.4 >= $INDICATOR_REQUIRED_VERSION], + [AC_DEFINE([HAVE_INDICATOR4], [1], [Use Indicator 0.4])], + [PKG_CHECK_MODULES([INDICATOR3], [indicator >= $INDICATOR_REQUIRED_VERSION], + [AC_DEFINE([HAVE_INDICATOR3], [1], [Use Indicator 0.3]) + ]) +]) + +AC_SUBST(INDICATOR4_CFLAGS) +AC_SUBST(INDICATOR4_LIBS) +AC_SUBST(INDICATOR3_CFLAGS) +AC_SUBST(INDICATOR3_LIBS) + ########################### # Check to see if we're local ########################### @@ -77,7 +89,7 @@ AC_DEFUN([AC_DEFINE_PATH], [ # Internationalization ########################### -GETTEXT_PACKAGE=indicator-applet +GETTEXT_PACKAGE=mate-indicator-applet AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the default gettext domain]) AC_DEFINE_PATH(MATELOCALEDIR, "${datadir}/locale", [locale directory]) |