[systemd-devel] [PATCH] build: --disable-networkd --enable-timesyncd should throw error
Cristian Rodríguez
crrodriguez at opensuse.org
Thu May 15 15:23:02 PDT 2014
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
More information about the systemd-devel
mailing list