[systemd-devel] [PATCH] build: --disable-networkd --enable-timesyncd should throw error

Cristian Rodríguez crrodriguez at opensuse.org
Thu May 15 15:27:38 PDT 2014


El 15/05/14 18:23, Cristian Rodríguez escribió:
> 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,
> 

This patch is incorrect, have_networkd is not yet set when the test
runs and returns a false result. ignore it for now.

-- 
Cristian
"I don't know the key to success, but the key to failure is trying to
please everybody."


More information about the systemd-devel mailing list