[tor-commits] [tor/master] Fix build on systemdless systems
nickm at torproject.org
nickm at torproject.org
Mon Jan 12 01:47:42 UTC 2015
commit 70b3937425b6a280e5bf47606ad1ab8e0b1f34a2
Author: Nick Mathewson <nickm at torproject.org>
Date: Sun Jan 11 20:47:15 2015 -0500
Fix build on systemdless systems
Fixes bug 14170.
---
configure.ac | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index dedfb7e..b89ae8d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -132,13 +132,12 @@ if test x$have_systemd = xyes; then
AC_DEFINE(HAVE_SYSTEMD,1,[Have systemd])
TOR_SYSTEMD_CFLAGS="${SYSTEMD_CFLAGS}"
TOR_SYSTEMD_LIBS="${SYSTEMD_LIBS}"
+ PKG_CHECK_MODULES(SYSTEMD209, [systemd >= 209],
+ [AC_DEFINE(HAVE_SYSTEMD_209,1,[Have systemd v209 or more])], [])
fi
AC_SUBST(TOR_SYSTEMD_CFLAGS)
AC_SUBST(TOR_SYSTEMD_LIBS)
-PKG_CHECK_MODULES(SYSTEMD209, [systemd >= 209],
- [AC_DEFINE(HAVE_SYSTEMD_209,1,[Have systemd v209 or more])], [])
-
if test x$enable_systemd = xyes -a x$have_systemd != xyes ; then
AC_MSG_ERROR([Explicitly requested systemd support, but systemd not found])
fi
More information about the tor-commits
mailing list