gnome-power-manager r3050 - trunk
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r3050 - trunk
- Date: Mon, 3 Nov 2008 17:03:09 +0000 (UTC)
Author: rhughes
Date: Mon Nov 3 17:03:08 2008
New Revision: 3050
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3050&view=rev
Log:
2008-11-03 Richard Hughes <richard hughsie com>
* configure.ac:
Add --enable-devicekit-power configure option for future code.
Modified:
trunk/ChangeLog
trunk/configure.ac
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Mon Nov 3 17:03:08 2008
@@ -185,6 +185,25 @@
fi
dnl ---------------------------------------------------------------------------
+dnl - Enable DeviceKit-power support
+dnl ---------------------------------------------------------------------------
+AC_ARG_ENABLE(dk_power,
+ AS_HELP_STRING([--enable-devicekit-power],
+ [Use DeviceKit-power for data sources]),
+ enable_dk_power=$enableval,enable_dk_power=yes)
+
+AC_MSG_CHECKING([whether to use DeviceKit-power])
+have_dk_power=no
+if test x$enable_dk_power = xyes ; then
+ have_dk_power=yes
+ AC_DEFINE(HAVE_DK_POWER, 1, [Define if we want to use DeviceKit-power])
+ AC_MSG_RESULT(yes)
+else
+ AC_MSG_RESULT(no)
+fi
+AM_CONDITIONAL([HAVE_DK_POWER], [test $have_dk_power = yes])
+
+dnl ---------------------------------------------------------------------------
dnl - Use check-foreground-console (Ubuntu specific) support?
dnl ---------------------------------------------------------------------------
AC_ARG_ENABLE(checkfg,
@@ -636,6 +655,7 @@
unique support: ${have_unique}
Building extra applets: ${enable_applets}
DPMS support: ${have_dpms}
+ DeviceKit-power support: ${have_dk_power}
PolicyKit support: ${have_polkit}
XEVENTS support: ${have_xevents}
Self test support: ${have_tests}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]