From: Daniel Salzman Date: Mon, 27 Aug 2018 20:15:57 +0000 (+0200) Subject: configure: update AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS arguments X-Git-Tag: v2.8.0~259 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=156945460cfa0c8f8d90efe7f8a18cf1316aebee;p=thirdparty%2Fknot-dns.git configure: update AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS arguments --- diff --git a/configure.ac b/configure.ac index 46f3cb8cbe..387b0ee3a0 100644 --- a/configure.ac +++ b/configure.ac @@ -545,13 +545,13 @@ AC_SEARCH_LIBS([capng_apply], [cap-ng]) # Checks for header files. AC_HEADER_RESOLV -AC_CHECK_HEADERS_ONCE([cap-ng.h pthread_np.h signal.h sys/time.h sys/wait.h sys/uio.h]) +AC_CHECK_HEADERS_ONCE([cap-ng.h pthread_np.h sys/uio.h]) -# Checks for library functions. -AC_CHECK_FUNCS([clock_gettime gettimeofday fgetln getline madvise malloc_trim poll \ - posix_memalign pthread_setaffinity_np setgroups strlcat strlcpy \ - initgroups accept4]) +# Checks for optional library functions. +AC_CHECK_FUNCS([accept4 clock_gettime fgetln getline initgroups malloc_trim \ + pthread_setaffinity_np setgroups strlcat strlcpy sysctlbyname]) +# Check for mandatory library functions. AC_CHECK_FUNC([vasprintf], [], [ AC_MSG_ERROR([vasprintf support in the libc is required])])