configure.ac: AC_HEADER_TIME is deprecated just check for sys/time.h
commitff84a3542ec6d2d1b0b2e5ec94b1b0f506db0043
authorMark Wielaard <mark@klomp.org>
Fri, 1 Apr 2022 15:28:24 +0000 (1 17:28 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 1 Apr 2022 15:28:24 +0000 (1 17:28 +0200)
tree9a58c38cfcf5970fb90098568dc2efeea8f789b4
parent00017cda521fb3aa3e5d8b892941dbb6bd6c3c25
configure.ac: AC_HEADER_TIME is deprecated just check for sys/time.h

AC_HEADER_TIME is deprecated and checks for various things, like
whether you can include both time.h and sys/time.h together. Which
is fine on all systems these days. Just check whether sys/time.h
is available. HAVE_SYS_TIME_H is used once in the code base in the
timerfd-syscall.c testcase. So even this limited check might be
overkill.
configure.ac