summaryrefslogtreecommitdiff
path: root/m4/nanosleep.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-25 07:21:57 +0000
committerJim Meyering <jim@meyering.net>2000-01-25 07:21:57 +0000
commit3379d3dad05e717bd000d27e01adb6d43f2d955c (patch)
treef88f0659c6b26422e3f5600d14835f9a6ed718f8 /m4/nanosleep.m4
parenta331f702904de6f11d815807f8da869dd29c01e7 (diff)
downloadgnulib-3379d3dad05e717bd000d27e01adb6d43f2d955c.tar.gz
Require AC_HEADER_TIME rather than simply using it.
Diffstat (limited to 'm4/nanosleep.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 03958049e3..1d15a73876 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>