Require AC_HEADER_TIME rather than simply using it.

This commit is contained in:
Jim Meyering committed 2000-01-25 07:21:57 +00:00
1 parent 7d31261496
commit f57f26e36a
1 file changed
+2 -2
+2 -2
View File
@@ -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>