diff options
author | Fabio Erculiani <[email protected]> | 2013-07-04 23:39:48 +0200 |
---|---|---|
committer | Fabio Erculiani <[email protected]> | 2013-07-05 12:49:59 +0200 |
commit | 352ad899ab041bce07f56a3bc4af0469844b4105 (patch) | |
tree | d6a71626515bea666b64b2ea1f885c5997578aa7 /configure.ac | |
parent | b36c93575f88bd5a045c36f3d8084608ae20879f (diff) | |
download | mate-power-manager-352ad899ab041bce07f56a3bc4af0469844b4105.tar.bz2 mate-power-manager-352ad899ab041bce07f56a3bc4af0469844b4105.tar.xz |
drop --with-systemdinhibit and move logind detection to runtime
There is no need to bind the user to either systemd-logind or upower
at build time. People can switch between init systems or run logind
without systemd.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/configure.ac b/configure.ac index 511833d..863f2f4 100644 --- a/configure.ac +++ b/configure.ac @@ -284,27 +284,6 @@ AC_MSG_RESULT([$have_applets]) AM_CONDITIONAL([HAVE_APPLETS], [test $have_applets = yes]) dnl --------------------------------------------------------------------------- -dnl systemd inhibit -dnl --------------------------------------------------------------------------- - -AC_ARG_WITH(systemdinhibit, - AS_HELP_STRING([--with-systemdinhibit], - [Add systemdinhibit support]),, - with_systemdinhibit=auto) - -use_systemdinhibit=no -if test "x$with_systemdinhibit" != "xno" ; then - PKG_CHECK_MODULES(SYSTEMD_INHIBIT, libsystemd-login >= 195 libsystemd-daemon >= 195 , use_systemdinhibit=yes, use_systemdinhibit=no) - - if test "x$use_systemdinhibit" = "xyes"; then - AC_DEFINE(WITH_SYSTEMD_INHIBIT, 1, [systemdinhibit support]) - fi - -fi -AM_CONDITIONAL(WITH_SYSTEMD_INHIBIT, test x$use_systemdinhibit = xyes) -AC_SUBST(WITH_SYSTEMD_INHIBIT) - -dnl --------------------------------------------------------------------------- dnl - DocBook Documentation dnl --------------------------------------------------------------------------- AC_ARG_ENABLE(docbook-docs, |