]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
autotools: fix non-Linux build
authorKarel Zak <kzak@redhat.com>
Mon, 18 Sep 2023 10:59:30 +0000 (12:59 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 18 Sep 2023 10:59:30 +0000 (12:59 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
Co-Author: Samuel Thibault <samuel.thibault@aquilenet.fr>

configure.ac

index b9109c15926aaf4ae2a8fa40b31623e5de00e8b1..1c2cb4f0d37dc00194a9100ff3431990c96d79c4 100644 (file)
@@ -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])