From 22c41e99922458379aecb0cdeeefd5304d5c0614 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 18 Sep 2023 12:59:30 +0200 Subject: [PATCH] autotools: fix non-Linux build Signed-off-by: Karel Zak Co-Author: Samuel Thibault --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b9109c1592..1c2cb4f0d3 100644 --- a/configure.ac +++ b/configure.ac @@ -1908,7 +1908,8 @@ AS_IF([test "x$build_enosys" = xyes], [ ]) AM_CONDITIONAL([BUILD_ENOSYS], [test "x$build_enosys" = xyes]) -UL_BUILD_INIT([lsclocks], [yes]) +UL_BUILD_INIT([lsclocks], [check]) +UL_REQUIRES_LINUX([lsclocks]) AM_CONDITIONAL([BUILD_LSCLOCKS], [test "x$build_lsclocks" = xyes]) UL_BUILD_INIT([getopt], [yes]) -- 2.47.2