summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/nanosleep.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/nanosleep.m4 b/m4/nanosleep.m4
index 03958049e..1d15a7387 100644
--- a/m4/nanosleep.m4
+++ b/m4/nanosleep.m4
@@ -1,4 +1,4 @@
-#serial 2
+#serial 3
dnl From Jim Meyering.
dnl Check for the nanosleep function.
@@ -14,7 +14,7 @@ AC_DEFUN(jm_FUNC_NANOSLEEP,
AC_CACHE_CHECK([whether nanosleep works],
jm_cv_func_nanosleep_works,
[
- AC_HEADER_TIME
+ AC_REQUIRE([AC_HEADER_TIME])
AC_TRY_RUN([
# if TIME_WITH_SYS_TIME
# include <sys/time.h>