configure.ac: fix disabling systemd notification support
If --disable-systemd is given, $enable_systemd is set to "no", not "false". As a result, if libsystemd is found, we still turn on systemd support even if we explicitly disable it with --disable-system.
This commit is contained in:
parent
8f9fb3e8fa
commit
5bf0809744
|
@ -126,7 +126,7 @@ AC_ARG_ENABLE(systemd,
|
|||
|
||||
|
||||
# systemd support
|
||||
if test x$enable_systemd = xfalse ; then
|
||||
if test x$enable_systemd = xno ; then
|
||||
have_systemd=no;
|
||||
else
|
||||
PKG_CHECK_MODULES(SYSTEMD,
|
||||
|
|
Loading…
Reference in New Issue