Require AC_HEADER_TIME before the cache check so

the messages come out on separate lines.
This commit is contained in:
Jim Meyering 2000-03-02 09:44:43 +00:00
parent 18341ac6a9
commit 169f13cd05

View File

@ -1,4 +1,4 @@
#serial 3
#serial 4
dnl From Jim Meyering
@ -7,8 +7,8 @@ dnl in time.h or sys/time.h.
AC_DEFUN(jm_CHECK_TYPE_STRUCT_TIMESPEC,
[
AC_REQUIRE([AC_HEADER_TIME])
AC_CACHE_CHECK([for struct timespec], fu_cv_sys_struct_timespec,
AC_REQUIRE([AC_HEADER_TIME])
[AC_TRY_COMPILE(
[
# if TIME_WITH_SYS_TIME