]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
configure.ac: fix disabling systemd notification support
authorAnthony G. Basile <blueness@gentoo.org>
Sun, 25 Jan 2015 00:10:46 +0000 (19:10 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 26 Jan 2015 15:03:45 +0000 (10:03 -0500)
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.

configure.ac

index 9aac1e8c55fba931313c60382c6cba5c4e1c385a..af16edfe491a576b9372e9c7ebfb6e41d6a28502 100644 (file)
@@ -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,