Mercurial > hg > octave-nkf > gnulib-hg
comparison m4/time_h.m4 @ 13133:72abbb959390
strptime: Fix C++ test error on mingw.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 03 Apr 2010 20:23:47 +0200 |
parents | eeb9ce788354 |
children | 080377ada58c |
comparison
equal
deleted
inserted
replaced
13132:eeb9ce788354 | 13133:72abbb959390 |
---|---|
77 GNULIB_STRPTIME=0; AC_SUBST([GNULIB_STRPTIME]) | 77 GNULIB_STRPTIME=0; AC_SUBST([GNULIB_STRPTIME]) |
78 GNULIB_TIMEGM=0; AC_SUBST([GNULIB_TIMEGM]) | 78 GNULIB_TIMEGM=0; AC_SUBST([GNULIB_TIMEGM]) |
79 GNULIB_TIME_R=0; AC_SUBST([GNULIB_TIME_R]) | 79 GNULIB_TIME_R=0; AC_SUBST([GNULIB_TIME_R]) |
80 dnl Assume proper GNU behavior unless another module says otherwise. | 80 dnl Assume proper GNU behavior unless another module says otherwise. |
81 HAVE_LOCALTIME_R=1; AC_SUBST([HAVE_LOCALTIME_R]) | 81 HAVE_LOCALTIME_R=1; AC_SUBST([HAVE_LOCALTIME_R]) |
82 HAVE_STRPTIME=1; AC_SUBST([HAVE_STRPTIME]) | |
82 HAVE_TIMEGM=1; AC_SUBST([HAVE_TIMEGM]) | 83 HAVE_TIMEGM=1; AC_SUBST([HAVE_TIMEGM]) |
83 dnl If another module says to replace or to not replace, do that. | 84 dnl If another module says to replace or to not replace, do that. |
84 dnl Otherwise, replace only if someone compiles with -DGNULIB_PORTCHECK; | 85 dnl Otherwise, replace only if someone compiles with -DGNULIB_PORTCHECK; |
85 dnl this lets maintainers check for portability. | 86 dnl this lets maintainers check for portability. |
86 REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; AC_SUBST([REPLACE_LOCALTIME_R]) | 87 REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; AC_SUBST([REPLACE_LOCALTIME_R]) |
87 REPLACE_MKTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_MKTIME]) | 88 REPLACE_MKTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_MKTIME]) |
88 REPLACE_NANOSLEEP=GNULIB_PORTCHECK; AC_SUBST([REPLACE_NANOSLEEP]) | 89 REPLACE_NANOSLEEP=GNULIB_PORTCHECK; AC_SUBST([REPLACE_NANOSLEEP]) |
89 REPLACE_STRPTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_STRPTIME]) | |
90 REPLACE_TIMEGM=GNULIB_PORTCHECK; AC_SUBST([REPLACE_TIMEGM]) | 90 REPLACE_TIMEGM=GNULIB_PORTCHECK; AC_SUBST([REPLACE_TIMEGM]) |
91 ]) | 91 ]) |