mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
Fix --enable-systemd builds on systems with libsystemd but not systemd
Fixes bug 16164; bugfix on 0.2.6.3-alpha. Patch from Peter Palfrader.
This commit is contained in:
parent
b3a225fb13
commit
08e8c21b1f
4
changes/bug16164
Normal file
4
changes/bug16164
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
o Minor bugfixes (compilation):
|
||||||
|
- Build with --enable-systemd correctly when libsystemd is installed,
|
||||||
|
but systemd is not. Fixes bug 16164, bugfix on 0.2.6.3-alpha. Patch
|
||||||
|
from Peter Palfrader.
|
@ -131,7 +131,7 @@ if test x$have_systemd = xyes; then
|
|||||||
AC_DEFINE(HAVE_SYSTEMD,1,[Have systemd])
|
AC_DEFINE(HAVE_SYSTEMD,1,[Have systemd])
|
||||||
TOR_SYSTEMD_CFLAGS="${SYSTEMD_CFLAGS}"
|
TOR_SYSTEMD_CFLAGS="${SYSTEMD_CFLAGS}"
|
||||||
TOR_SYSTEMD_LIBS="${SYSTEMD_LIBS}"
|
TOR_SYSTEMD_LIBS="${SYSTEMD_LIBS}"
|
||||||
PKG_CHECK_MODULES(SYSTEMD209, [systemd >= 209],
|
PKG_CHECK_MODULES(LIBSYSTEMD209, [libsystemd >= 209],
|
||||||
[AC_DEFINE(HAVE_SYSTEMD_209,1,[Have systemd v209 or more])], [])
|
[AC_DEFINE(HAVE_SYSTEMD_209,1,[Have systemd v209 or more])], [])
|
||||||
fi
|
fi
|
||||||
AC_SUBST(TOR_SYSTEMD_CFLAGS)
|
AC_SUBST(TOR_SYSTEMD_CFLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user