From c12fc5e1cd2e3d3ecbe5fed804c35406e4d79745 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Wed, 24 Feb 2016 09:34:48 +0100 Subject: build-sys: build_init should check for flock To let a plain ./configure work on systems without create_timer(). see 254743e4 Signed-off-by: Ruediger Meier --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 63d1d38a2..5a62601f5 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) -- cgit v1.2.3-55-g7522