diff --git a/configure b/configure index 8f0b9155777d091e2eb2ef2830d6e48b976d5be0..b1814db238392c3e5bf3a36c7faf997c49c0a59c 100755 --- a/configure +++ b/configure @@ -4655,7 +4655,7 @@ check_func ${malloc_prefix}memalign && enable memalign check_func ${malloc_prefix}posix_memalign && enable posix_memalign check_func access -check_func clock_gettime || { check_func clock_gettime -lrt && add_extralibs -lrt; } +check_func_headers time.h clock_gettime || { check_func_headers time.h clock_gettime -lrt && add_extralibs -lrt; } check_func fcntl check_func fork check_func gethrtime