aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-08-03 11:26:00 +0100
committerJavier Jardón <javier.jardon@codethink.co.uk>2011-08-03 11:26:00 +0100
commitd58b6ad197b361287f6f30300039078c7e892026 (patch)
treeed142e61386401d69b6fe5dc9127a3beff854075
parent5a3da6b346e1f217be7ae2cd4081a836c15101b9 (diff)
parent534616d77940593fe1aa2a90c65339b36e008865 (diff)
downloadayatana-indicator-power-d58b6ad197b361287f6f30300039078c7e892026.tar.gz
ayatana-indicator-power-d58b6ad197b361287f6f30300039078c7e892026.tar.bz2
ayatana-indicator-power-d58b6ad197b361287f6f30300039078c7e892026.zip
Fixed typos 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..87cf404 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 9ef6289..ebb25d0 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])