]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: build_init should check for flock
authorRuediger Meier <ruediger.meier@ga-group.nl>
Wed, 24 Feb 2016 08:34:48 +0000 (09:34 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Mon, 29 Feb 2016 12:05:03 +0000 (13:05 +0100)
To let a plain ./configure work on systems without create_timer().
see 254743e4

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
configure.ac

index 63d1d38a23e89c7af665df11518bde4820bb8fec..5a62601f5581f3aa4b0df395895fe2ff17b07de9 100644 (file)
@@ -1406,7 +1406,7 @@ UL_REQUIRES_SYSCALL_CHECK([pivot_root], [UL_CHECK_SYSCALL([pivot_root])])
 AM_CONDITIONAL([BUILD_PIVOT_ROOT], [test "x$build_pivot_root" = xyes])
 
 
-UL_BUILD_INIT([flock], [yes])
+UL_BUILD_INIT([flock], [check])
 UL_REQUIRES_HAVE([flock], [timer], [timer_create function])
 AM_CONDITIONAL([BUILD_FLOCK], [test "x$build_flock" = xyes])