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.)
This commit is contained in:
Nick Mathewson 2015-01-12 09:49:52 -05:00
parent 8df35a0c88
commit b0c32106b3

View File

@ -126,6 +126,13 @@ else
[libsystemd-daemon], [libsystemd-daemon],
have_systemd=yes, have_systemd=yes,
have_systemd=no) 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 fi
if test x$have_systemd = xyes; then if test x$have_systemd = xyes; then