Jeremy Sowden
321b337e8f
wmbattery: make distclean
fixes.
...
Remove Makefile instead of obsolete makeinfo.
Remove autom4te.cache.
Don't remove configure or config.h.in.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-29 19:59:29 +00:00
Jeremy Sowden
2ac2f67351
wmbattery: use lower-case prefixes for PKG_CHECK_MODULES checks.
...
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-29 07:00:36 +00:00
Jeremy Sowden
d8d0a025e7
wmbattery: add --enable-hal and --enable-upower.
...
By default, upower is enabled and hal is disabled.
Fixes: 7434685dae
("wmbattery: use PKG_CHECK_MODULES, rather than calling pkg-config explicitly.")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-29 07:00:36 +00:00
Jeremy Sowden
37a58aa3eb
wmbattery: use PKG_CHECK_MODULES for X libraries and headers.
...
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden
7434685dae
wmbattery: use PKG_CHECK_MODULES, rather than calling pkg-config explicitly.
...
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden
08912c26f3
wmbattery: use CPPFLAGS for defining preprocessor macros.
...
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden
bf484198ea
wmbattery: add $datarootdir to Makefile.in.
...
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden
7c37451d58
wmbattery: move Makefile to Makefile.in, inline the contents of makeinfo.in and remove it.
...
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00