summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNelson Marques <[email protected]>2012-11-28 17:12:28 -0800
committerNelson Marques <[email protected]>2012-11-28 17:12:28 -0800
commit2a185053f374fdfe43bb0231d4885a476eb0c5a9 (patch)
tree32c97876c27ed9af2e473eacf702830bf40949e6
parenta9c127a8a3420ac5613a41de212906e4ab90156c (diff)
parenta324df9170a50ca91f9b931f4e9fc5fe916a8c86 (diff)
downloadmate-power-manager-2a185053f374fdfe43bb0231d4885a476eb0c5a9.tar.bz2
mate-power-manager-2a185053f374fdfe43bb0231d4885a476eb0c5a9.tar.xz
Merge pull request #43 from Firstyear/systemd-inhibit-version
Added systemd version check
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0c3e60c..e15db51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -280,7 +280,7 @@ AC_ARG_WITH(systemdinhibit,
use_systemdinhibit=no
if test "x$with_systemdinhibit" != "xno" ; then
- PKG_CHECK_MODULES(SYSTEMD_INHIBIT, libsystemd-login libsystemd-daemon, use_systemdinhibit=yes, use_systemdinhibit=no)
+ 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])