浏览代码

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.)
Nick Mathewson 9 年之前
父节点
当前提交
b0c32106b3
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      configure.ac

+ 7 - 0
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