From 534616d77940593fe1aa2a90c65339b36e008865 Mon Sep 17 00:00:00 2001 From: Ken VanDine Date: Thu, 28 Jul 2011 13:02:28 -0400 Subject: fixed a syntax error on checking for GSD and set the HAVE_GSD defines at build time --- Makefile.am | 1 + configure.ac | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 932775f..7659cf6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,6 +13,7 @@ libpower_la_SOURCES = \ libpower_la_CFLAGS = \ $(UPOWER_CFLAGS) \ $(INDICATOR_CFLAGS) \ + -DHAVE_GSD \ -Wall -Werror \ -DG_LOG_DOMAIN=\"Indicator-Power\" libpower_la_LIBADD = \ diff --git a/configure.ac b/configure.ac index 54a9a4d..521db82 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_INIT([indicator-power], - [0.3], + [0.4], [http://bugs.launchpad.net/indicator-power], [indicator-power], [http://launchpad.net/indicator-power]) @@ -39,7 +39,7 @@ PKG_CHECK_MODULES([INDICATOR],[ gtk+-3.0 >= $GTK_REQUIRED_VERSION indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION ]) -PKG_CHECK_MODULES([GSD],[gnome-settings-daemon>= $GSD_REQUIRED_VERSION], +PKG_CHECK_MODULES([GSD],[gnome-settings-daemon >= $GSD_REQUIRED_VERSION], [have_gsd=yes],[have_gsd=no]) AM_CONDITIONAL([HAVE_GSD],[test x$have_gsd = xyes]) -- cgit v1.2.3