瀏覽代碼

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.
Anthony G. Basile 9 年之前
父節點
當前提交
5bf0809744
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -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,