diff options
author | Ruediger Meier | 2016-02-24 09:34:48 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-02-29 13:05:03 +0100 |
commit | c12fc5e1cd2e3d3ecbe5fed804c35406e4d79745 (patch) | |
tree | ab06b658d29492b9e03a6022ae95b7cfbd0f6fb2 /configure.ac | |
parent | newgrp: rename memset_s() (diff) | |
download | kernel-qcow2-util-linux-c12fc5e1cd2e3d3ecbe5fed804c35406e4d79745.tar.gz kernel-qcow2-util-linux-c12fc5e1cd2e3d3ecbe5fed804c35406e4d79745.tar.xz kernel-qcow2-util-linux-c12fc5e1cd2e3d3ecbe5fed804c35406e4d79745.zip |
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 <ruediger.meier@ga-group.nl>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |