timesyncd requires networkd running.
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 16b689e..a19ca24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -830,6 +830,8 @@ AC_ARG_ENABLE(timesyncd, 
AS_HELP_STRING([--disable-timesyncd], [disable timesync
 if test "x$enable_timesyncd" != "xno"; then
         have_timesyncd=yes
 fi
+AS_IF([test "x$have_timesyncd" = "xyes" -a "x$have_networkd" != "xyes"],
+      [AC_MSG_ERROR([timesyncd requires networkd at runtime])])
 AM_CONDITIONAL(ENABLE_TIMESYNCD, [test "$have_timesyncd" = "yes"])
 
 AC_ARG_WITH(ntp-servers,
-- 
1.8.4.5

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to