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
commitf57f26e36a0f636f107cd9022966a0eba0219de7 (patch)
tree871e10e95db935893e12454770b7b4ec8ea6c345 /m4/nanosleep.m4
parent7d312614961126b2a4dcc79f693efe6ec86e9e7f (diff)
downloadcoreutils-f57f26e36a0f636f107cd9022966a0eba0219de7.tar.xz
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 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>