From: Ruediger Meier Date: Wed, 24 Feb 2016 08:34:48 +0000 (+0100) Subject: build-sys: build_init should check for flock X-Git-Tag: v2.28-rc1~64^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c12fc5e1cd2e3d3ecbe5fed804c35406e4d79745;p=thirdparty%2Futil-linux.git 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 --- diff --git a/configure.ac b/configure.ac index 63d1d38a23..5a62601f55 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])