diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-01-11 20:47:15 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-11 20:47:15 -0500 |
commit | 70b3937425b6a280e5bf47606ad1ab8e0b1f34a2 (patch) | |
tree | aba8f48dcb4aec6fbf2d08723b2a672d04ae9397 /configure.ac | |
parent | 3f39daa663b34bc62d36d76d6d7d3de9bf5b8ecd (diff) | |
download | tor-70b3937425b6a280e5bf47606ad1ab8e0b1f34a2.tar.gz tor-70b3937425b6a280e5bf47606ad1ab8e0b1f34a2.zip |
Fix build on systemdless systems
Fixes bug 14170.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index dedfb7e5bd..b89ae8d7c3 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 |