Forgot to remove the AC_CHECK_HEADER(powerlib.h) from kpowersaves
configure.in.in. It would be not needed anymore of course. Updated patch
is attached.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
Index: src/Makefile.am
===================================================================
--- src/Makefile.am	(Revision 1970)
+++ src/Makefile.am	(Arbeitskopie)
@@ -32,7 +32,7 @@
 			schemes.cpp dbusPowersave.cpp infodialog.cpp info_Dialog.ui \
 			detaileddialog.cpp detailed_Dialog.ui
 kpowersave_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -module -avoid-version
-kpowersave_la_LIBADD = $(LIB_KIO) @PACKAGE_LIBS@ -ldbus-qt-1 -lpowersave -lpowersave_dbus -lXss -lXext
+kpowersave_la_LIBADD = $(LIB_KIO) @PACKAGE_LIBS@ -ldbus-qt-1 -lXss -lXext
 
 # this is where the desktop file will go 
 xdg_apps_DATA = kpowersave.desktop
Index: configure.in.in
===================================================================
--- configure.in.in	(Revision 1970)
+++ configure.in.in	(Arbeitskopie)
@@ -53,10 +53,7 @@
     echo "enabled YaST menu entry: $YAST_ENTRY" 
 fi
 
-# check for headers
-AC_CHECK_HEADERS(powerlib.h,, [AC_MSG_ERROR([You need to install powersave-devel.])])
-
-pkg_modules="dbus-1 >= 0.33, hal >= 0.5.4"
+pkg_modules="dbus-1 >= 0.33, hal >= 0.5.4, powersave >= 0.12.1 powersave-dbus >= 0.12.1"
 PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
 
 AC_SUBST(PACKAGE_CFLAGS)

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to