[tor-commits] [tor/master] configure.ac: fix disabling systemd notification support

nickm at torproject.org nickm at torproject.org
Mon Jan 26 15:06:42 UTC 2015


commit 5bf0809744637a868265c89cf86481135019f2ac
Author: Anthony G. Basile <blueness at gentoo.org>
Date:   Sat Jan 24 19:10:46 2015 -0500

    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.
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 9aac1e8..af16edf 100644
--- a/configure.ac
+++ b/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,





More information about the tor-commits mailing list