From a324df9170a50ca91f9b931f4e9fc5fe916a8c86 Mon Sep 17 00:00:00 2001 From: William Brown Date: Thu, 29 Nov 2012 11:09:31 +1030 Subject: Added systemd version check, so that we dont catch people who dont need inhibit --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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]) -- cgit v1.2.1