diff options
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" |