X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=m4%2Ftimespec.m4;h=5ca16d48dc5e7c4a63b1370cc9c11f8bbede7ed5;hb=455b3a9a5e1861152fe403dea25636586d256544;hp=5df984f3471032256d2d095af747d73aca9a1f3e;hpb=e059c2358aad79ce8dfd9581dd6f12ce8503dc63;p=gnulib.git diff --git a/m4/timespec.m4 b/m4/timespec.m4 index 5df984f34..5ca16d48d 100644 --- a/m4/timespec.m4 +++ b/m4/timespec.m4 @@ -1,4 +1,4 @@ -#serial 6 +#serial 7 dnl From Jim Meyering @@ -21,6 +21,9 @@ dnl in time.h or sys/time.h. AC_DEFUN([jm_CHECK_TYPE_STRUCT_TIMESPEC], [ + dnl Persuade pedantic Solaris to declare struct timespec. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + AC_REQUIRE([AC_HEADER_TIME]) AC_CHECK_HEADERS_ONCE(sys/time.h) AC_CACHE_CHECK([for struct timespec], fu_cv_sys_struct_timespec,