diff options
Diffstat (limited to 'gl/m4/time_h.m4')
-rw-r--r-- | gl/m4/time_h.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gl/m4/time_h.m4 b/gl/m4/time_h.m4 index a45a10a..3b83900 100644 --- a/gl/m4/time_h.m4 +++ b/gl/m4/time_h.m4 | |||
@@ -1,8 +1,8 @@ | |||
1 | # Configure a more-standard replacement for <time.h>. | 1 | # Configure a more-standard replacement for <time.h>. |
2 | 2 | ||
3 | # Copyright (C) 2000-2001, 2003-2007, 2009-2010 Free Software Foundation, Inc. | 3 | # Copyright (C) 2000-2001, 2003-2007, 2009-2013 Free Software Foundation, Inc. |
4 | 4 | ||
5 | # serial 2 | 5 | # serial 7 |
6 | 6 | ||
7 | # This file is free software; the Free Software Foundation | 7 | # This file is free software; the Free Software Foundation |
8 | # gives unlimited permission to copy and/or distribute it, | 8 | # gives unlimited permission to copy and/or distribute it, |
@@ -21,11 +21,11 @@ AC_DEFUN([gl_HEADER_TIME_H_BODY], | |||
21 | [ | 21 | [ |
22 | AC_REQUIRE([AC_C_RESTRICT]) | 22 | AC_REQUIRE([AC_C_RESTRICT]) |
23 | AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) | 23 | AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) |
24 | gl_CHECK_NEXT_HEADERS([time.h]) | 24 | gl_NEXT_HEADERS([time.h]) |
25 | AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC]) | 25 | AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC]) |
26 | ]) | 26 | ]) |
27 | 27 | ||
28 | dnl Define HAVE_STRUCT_TIMESPEC if `struct timespec' is declared | 28 | dnl Check whether 'struct timespec' is declared |
29 | dnl in time.h, sys/time.h, or pthread.h. | 29 | dnl in time.h, sys/time.h, or pthread.h. |
30 | 30 | ||
31 | AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC], | 31 | AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC], |
@@ -95,7 +95,7 @@ AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS], | |||
95 | GNULIB_TIMEGM=0; AC_SUBST([GNULIB_TIMEGM]) | 95 | GNULIB_TIMEGM=0; AC_SUBST([GNULIB_TIMEGM]) |
96 | GNULIB_TIME_R=0; AC_SUBST([GNULIB_TIME_R]) | 96 | GNULIB_TIME_R=0; AC_SUBST([GNULIB_TIME_R]) |
97 | dnl Assume proper GNU behavior unless another module says otherwise. | 97 | dnl Assume proper GNU behavior unless another module says otherwise. |
98 | HAVE_LOCALTIME_R=1; AC_SUBST([HAVE_LOCALTIME_R]) | 98 | HAVE_DECL_LOCALTIME_R=1; AC_SUBST([HAVE_DECL_LOCALTIME_R]) |
99 | HAVE_NANOSLEEP=1; AC_SUBST([HAVE_NANOSLEEP]) | 99 | HAVE_NANOSLEEP=1; AC_SUBST([HAVE_NANOSLEEP]) |
100 | HAVE_STRPTIME=1; AC_SUBST([HAVE_STRPTIME]) | 100 | HAVE_STRPTIME=1; AC_SUBST([HAVE_STRPTIME]) |
101 | HAVE_TIMEGM=1; AC_SUBST([HAVE_TIMEGM]) | 101 | HAVE_TIMEGM=1; AC_SUBST([HAVE_TIMEGM]) |