Here are a couple patches for wmbattery. They restore *BSD support and fix a
build error on OpenSUSE 13.2 reported by Haroldo Gambini Santos.
Carlos, could you tag the last commit wmbattery-2.47?
Thanks!
Doug
Doug Torrance (3):
wmbattery: Use AC_CHECK_LIB instead of AC_CHECK_HEADERS to check
The two functions are defined if the BSD-specific apm headers are found and
if libapm is not found. Both of these conditions will be true on BSD
systems, so we use #elif instead of the separate #if statements.
---
wmbattery/wmbattery.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff
If autoconf finds an apm.h other than the one belonging to libapm, we get
builds errors like the ones reported by Haroldo Gambini Santos in [1].
[1] http://lists.windowmaker.org/dev/msg07937.html
---
wmbattery/apm.h| 4 ++--
wmbattery/configure.ac | 1 -
wmbattery/wmbattery.c | 2 +-
3 f
---
wmbattery/ChangeLog| 13 +
wmbattery/configure.ac | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/wmbattery/ChangeLog b/wmbattery/ChangeLog
index bdbae3e..1876f4f 100644
--- a/wmbattery/ChangeLog
+++ b/wmbattery/ChangeLog
@@ -1,3 +1,16 @@
+wmbattery (2.4