X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Ftime_h.m4;h=d42a635ece4cdb36055b474f60c77eb8f5d9ae4d;hb=05552c43d21f272e927663aae4bc810e17d4d785;hp=e90ed7ac374315f6811d4c4901e746188037d16b;hpb=3ac9552429c5a500717e1d3d129c32f7d0ea37a3;p=gnulib.git diff --git a/m4/time_h.m4 b/m4/time_h.m4 index e90ed7ac3..d42a635ec 100644 --- a/m4/time_h.m4 +++ b/m4/time_h.m4 @@ -20,9 +20,7 @@ AC_DEFUN([gl_HEADER_TIME_H_BODY], [ AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) - gl_ABSOLUTE_HEADER([time.h]) - ABSOLUTE_TIME_H=\"$gl_cv_absolute_time_h\" - AC_SUBST([ABSOLUTE_TIME_H]) + gl_CHECK_NEXT_HEADERS([time.h]) AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC]) ]) @@ -67,7 +65,7 @@ AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_sys_time_h=yes], [gl_cv_sys_struct_timespec_in_sys_time_h=no])]) - if test $gl_cv_sys_struct_timespec_in_time_h = yes; then + if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 fi fi