aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-07-28 13:02:28 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-07-28 13:02:28 -0400
commit534616d77940593fe1aa2a90c65339b36e008865 (patch)
treedb2731afe3f673166be7dc6888d6a188ca62c272
parent13d993e0026366d430f8ecad0aef772951f4bdd2 (diff)
downloadayatana-indicator-power-534616d77940593fe1aa2a90c65339b36e008865.tar.gz
ayatana-indicator-power-534616d77940593fe1aa2a90c65339b36e008865.tar.bz2
ayatana-indicator-power-534616d77940593fe1aa2a90c65339b36e008865.zip
fixed a syntax error on checking for GSD and set the HAVE_GSD defines at build time
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac4
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])