gnome-power-manager r3076 - trunk



Author: rhughes
Date: Tue Nov  4 13:46:21 2008
New Revision: 3076
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3076&view=rev

Log:
2008-11-04  Richard Hughes  <richard hughsie com>

* configure.ac:
Allow configure to complete without PolicyKit.
Patch from Chris Vine <chris cvine freeserve co uk>, many thanks.


Modified:
   trunk/ChangeLog
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Tue Nov  4 13:46:21 2008
@@ -270,7 +270,7 @@
 
 AC_MSG_CHECKING([whether to support gconf defaults])
 have_gconfdefaults=no
-if test x$enable_gconfdefaults = xyes ; then
+if test x$enable_gconfdefaults = xyes && test $have_polkit = yes ; then
     PKG_CHECK_MODULES(POLKIT_GNOME, [
                       polkit-gnome >= $POLKIT_GNOME_REQUIRED])
     AC_SUBST(POLKIT_GNOME_CFLAGS)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]