Require AC_HEADER_TIME before the cache check so
authorJim Meyering <jim@meyering.net>
Thu, 2 Mar 2000 09:44:43 +0000 (09:44 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 2 Mar 2000 09:44:43 +0000 (09:44 +0000)
the messages come out on separate lines.

m4/timespec.m4

index c80ca32..36ea5ca 100644 (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