summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2004-06-08 00:06:57 +0000
committerKjartan Maraas <kmaraas@src.gnome.org>2004-06-08 00:06:57 +0000
commit89b5848b0b429ca2a3f7895e766bca92e27f7219 (patch)
tree360a5402bd4ff55b3b8e125c76a2651ff48c334a
parente5d3cf34b0b3e9661490593d2cc7da3958a8586f (diff)
Build fix for PPC for battstat. Patch from: Bryan Forbes
2004-06-08 Kjartan Maraas <kmaraas@gnome.org> * configure.in: Build fix for PPC for battstat. Patch from: Bryan Forbes <bryan@reigndropsfall.net>
-rw-r--r--ChangeLog6
-rw-r--r--configure.in3
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d5de5d509..385adb3ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-06-08 Kjartan Maraas <kmaraas@gnome.org>
+
+ * configure.in: Build fix for PPC for battstat.
+ Patch from: Bryan Forbes <bryan@reigndropsfall.net>
+ Fixes bug: #137631.
+
2004-05-13 Kevin Vandersloot <kfv101@psu.edu>
* release 2.6.1
diff --git a/configure.in b/configure.in
index 689fb9a25..c72837f51 100644
--- a/configure.in
+++ b/configure.in
@@ -209,6 +209,8 @@ NEED_LIBAPM=no
build_battstat_applet=yes
case "${host}" in
powerpc-*-linux*)
+ NEED_LIBAPM=yes
+ AC_CHECK_LIB(apm,apm_read,[HAVE_LIBAPM=yes],[HAVE_LIBAPM=no])
;;
# list of supported OS cores that use libapm
*-*-linux*)
@@ -225,6 +227,7 @@ case "${host}" in
esac
AC_SUBST(HAVE_LIBAPM)
+AC_SUBST(NEED_LIBAPM)
AM_CONDITIONAL(HAVE_LIBAPM, test "x$HAVE_LIBAPM" = "xyes")
AM_CONDITIONAL(NEED_LIBAPM, test "x$NEED_LIBAPM" = "xyes")
AM_CONDITIONAL(BUILD_BATTSTAT_APPLET, test x$build_battstat_applet = xyes)