[Xfce4-commits] <xfce4-session:nick/shutdown-cleanup> Remove the consolekit, polkit, hal check.

Nick Schermer noreply at xfce.org
Sat Feb 25 11:04:05 CET 2012


Updating branch refs/heads/nick/shutdown-cleanup
         to 51ac5e6f8b3a463ba1dff3bd70fb0c0c88694030 (commit)
       from b40d6c8390c985c78eb4e0cb851723d7aae40527 (commit)

commit 51ac5e6f8b3a463ba1dff3bd70fb0c0c88694030
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Feb 25 10:53:06 2012 +0100

    Remove the consolekit, polkit, hal check.
    
    We only use consolekit over dbus, so no need to check things.

 configure.in.in |   79 -------------------------------------------------------
 1 files changed, 0 insertions(+), 79 deletions(-)

diff --git a/configure.in.in b/configure.in.in
index b45edba..afdb33a 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -141,70 +141,6 @@ else
   AC_MSG_RESULT([yes])
 fi
 
-dnl
-dnl        D-Bus RUNTIME Dependencies
-dnl
-
-dnl HAL?
-
-AC_ARG_ENABLE([hal],
-        [AC_HELP_STRING([--disable-hal],
-                [Do not enable HAL (default=enabled)])],
-        [],
-        [enable_hal=yes])
-AC_MSG_CHECKING([whether to build with HAL support])
-if test "x$enable_hal" != "xyes"; then
-    AC_MSG_RESULT([no])
-else
-    AC_DEFINE(ENABLE_HAL, 1 , [HAL support])
-    AC_MSG_RESULT([yes])
-fi
-
-dnl upower?
-
-AC_ARG_ENABLE([upower],
-        [AC_HELP_STRING([--disable-upower],
-                [Do not enable Upower support (formely devicekit-power) (default=enabled)])],
-        [],
-        [enable_upower=yes])
-AC_MSG_CHECKING([whether to build with UPower (formely devicekit-power) support])
-if test "x$enable_upower" != "xyes"; then
-    AC_MSG_RESULT([no])
-else
-    AC_DEFINE(ENABLE_UPOWER, 1 , [UPower support])
-    AC_MSG_RESULT([yes])
-fi
-
-dnl consolekit?
-
-AC_ARG_ENABLE([consolekit],
-        [AC_HELP_STRING([--disable-consolekit],
-                [Do not enable ConsoleKit (default=enabled)])],
-        [],
-        [enable_consolekit=yes])
-AC_MSG_CHECKING([whether to build with ConsoleKit support])
-if test "x$enable_consolekit" != "xyes"; then
-    AC_MSG_RESULT([no])
-else
-    AC_DEFINE(ENABLE_CONSOLE_KIT, 1 , [ConsoleKit support])
-    AC_MSG_RESULT([yes])
-fi
-
-dnl Polkit ?
-
-AC_ARG_ENABLE([polkit],
-        [AC_HELP_STRING([--disable-polkit],
-                [Do not enable PolicyKit support (default=enabled)])],
-        [],
-        [enable_polkit=yes])
-AC_MSG_CHECKING([whether to build with polkit support])
-if test "x$enable_polkit" != "xyes"; then
-    AC_MSG_RESULT([no])
-else
-    AC_DEFINE(ENABLE_POLKIT, 1 , [PolicyKit support])
-    AC_MSG_RESULT([yes])
-fi
-
 dnl check for linux/ioprio.h, and also check that the header actually
 dnl works, as some kernels have bad headers.  using AC_CHECK_HEADERS()
 dnl prints a scary warning with a request to report a bug if it fails,
@@ -292,21 +228,6 @@ echo
 echo "Build Configuration:"
 echo
 echo " * Debugging support:              $enable_debug"
-if test x"$enable_upower" = x"yes"; then
-echo " * UPower support:                 yes"
-else
-echo " * UPower support:                 no"
-fi
-if test x"$enable_consolekit" = x"yes"; then
-echo " * Consolekit support:             yes"
-else
-echo " * Consolekit support:             no"
-fi
-if test x"$enable_polkit" = x"yes"; then
-echo " * Policykit support:              yes"
-else
-echo " * Policykit support:              no"
-fi
 if test x"$enable_legacy_sm" = x"yes"; then
 echo " * Legacy session management:      yes"
 else


More information about the Xfce4-commits mailing list