diff options
author | Victor Kareh <[email protected]> | 2019-03-27 10:52:03 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-04-18 11:08:21 +0200 |
commit | c4c134d1a1745baa3491e6f6d999f8e6f1ef5239 (patch) | |
tree | 28370a672f6779288d611c57e926be81d0e08bff | |
parent | 0eb62eb31f164e530bb9150567a21be301f17932 (diff) | |
download | mate-session-manager-c4c134d1a1745baa3491e6f6d999f8e6f1ef5239.tar.bz2 mate-session-manager-c4c134d1a1745baa3491e6f6d999f8e6f1ef5239.tar.xz |
Remove duplicate check for libelogind
Also default to no, since elogind is not officially supported.
-rw-r--r-- | configure.ac | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 1390ba0..a71617f 100644 --- a/configure.ac +++ b/configure.ac @@ -119,13 +119,11 @@ dnl ==================================================================== AC_ARG_WITH(elogind, AS_HELP_STRING([--with-elogind], [Use libelogind instead of libsystemd-login]),, - with_elogind=auto) + with_elogind=no) use_elogind=no -if test "x$with_elogind" != "xno"; then - PKG_CHECK_MODULES(LIBELOGIND,[libelogind], [use_elogind=yes], - [PKG_CHECK_MODULES([LIBELOGIND], [libelogind], - [use_elogind=yes], [use_elogind=no])]) +if test "x$with_elogind" = "xyes"; then + PKG_CHECK_MODULES(LIBELOGIND,[libelogind], [use_elogind=yes], [use_elogind=no]) if test "x$use_elogind" = "xyes"; then AC_DEFINE([HAVE_ELOGIND], 1, [elogind support]) |