summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKarel Zak2015-03-10 11:37:45 +0100
committerKarel Zak2015-03-10 11:37:45 +0100
commit7d3a07d87fd1c59927a614a04a2751aa4db420d8 (patch)
tree157bae226fb8661cd47b1db7beb648fc7f7e343d /configure.ac
parentlogger: add --skip-empty-lines to prevent logging empty lines (diff)
downloadkernel-qcow2-util-linux-7d3a07d87fd1c59927a614a04a2751aa4db420d8.tar.gz
kernel-qcow2-util-linux-7d3a07d87fd1c59927a614a04a2751aa4db420d8.tar.xz
kernel-qcow2-util-linux-7d3a07d87fd1c59927a614a04a2751aa4db420d8.zip
logger: check for ntp_gettime() rather than for timex.h
It seems that musl libc and uClibc without UCLIBC_NTP_LEGACY does not provide ntp_gettime and compile will fail. References: https://github.com/karelzak/util-linux/issues/174 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3dcfb7473..cedf761f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -343,6 +343,7 @@ AC_CHECK_FUNCS([ \
lseek64 \
mempcpy \
nanosleep \
+ ntp_gettime \
open_memstream \
personality \
posix_fadvise \