From: Nick Mathewson Date: Mon, 12 Jan 2015 14:49:52 +0000 (-0500) Subject: If libsystemd-daemon.pc is not found, look for libsystemd X-Git-Tag: tor-0.2.6.3-alpha~168 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b0c32106b3559b4ee9fabfb1a49e2e328c850305;p=thirdparty%2Ftor.git If libsystemd-daemon.pc is not found, look for libsystemd (Thanks to toralf for noting that the build was broken, and to Sebastian for telling me that my fix still wasn't right.) --- diff --git a/configure.ac b/configure.ac index b89ae8d7c3..c254725c60 100644 --- a/configure.ac +++ b/configure.ac @@ -126,6 +126,13 @@ else [libsystemd-daemon], have_systemd=yes, have_systemd=no) + if test x$have_systemd=xno; then + AC_MSG_NOTICE([Okay, checking for systemd a different way...]) + PKG_CHECK_MODULES(SYSTEMD, + [libsystemd], + have_systemd=yes, + have_systemd=no) + fi fi if test x$have_systemd = xyes; then