diff options
author | Timothy Pearson <[email protected]> | 2012-04-15 17:42:29 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-04-15 17:42:29 -0500 |
commit | 3ec8230e9f10645de684b5e03471e293481183d7 (patch) | |
tree | 0a9f15fcc62fb8a0e84eb8270ff30262274f3f4c /configure.in.in | |
parent | 82806a03ea419871940eb3c03c792f3ea15734d9 (diff) | |
download | tdepowersave-3ec8230e9f10645de684b5e03471e293481183d7.tar.gz tdepowersave-3ec8230e9f10645de684b5e03471e293481183d7.zip |
Initial migration off of HAL
Diffstat (limited to 'configure.in.in')
-rw-r--r-- | configure.in.in | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/configure.in.in b/configure.in.in index 7cf2fb5..c2d1d4f 100644 --- a/configure.in.in +++ b/configure.in.in @@ -131,7 +131,7 @@ else echo "enabled faked sysfs - proc environment: no" fi -pkg_modules="dbus-1 >= 0.6, hal >= 0.5.6" +pkg_modules="dbus-1 >= 0.6" PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) # get dbus system bus socket @@ -145,18 +145,6 @@ AC_DEFINE_UNQUOTED(DBUS_SYSTEM_BUS_SOCKET, ["$DBUS_SYSTEM_BUS_SOCKET"], [dbus system bus socket path]) -#check for PolicyKit version -LIBHAL_POLICYCHECK=no -AC_CHECK_LIB([hal], [libhal_device_is_caller_privileged], [LIBHAL_POLICYCHECK=yes], [LIBHAL_POLICYCHECK=no]) -if test "x$LIBHAL_POLICYCHECK" = "xyes"; then - AC_DEFINE([USE_LIBHAL_POLICYCHECK],1,[Set if should use libhal to check policy.]) -fi - -#check for HAL version >= 0.5.10 -if $PKG_CONFIG --atleast-version 0.5.10 hal; then - AC_DEFINE([HAVE_HAL_0_5_10],1,[Set if we use HAL >= 0.5.10]) -fi - # check for dbus qt bindings --> copied from KNetworkmanager safe_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS $PACKAGE_CFLAGS $all_includes" |