Mercurial > gnulib
changeset 3332:cbebc0dc4704
yes/no were reversed
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 12 Aug 2001 08:30:03 +0000 |
parents | eab4b8c021f3 |
children | 9d246221b832 |
files | m4/gettimeofday.m4 |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/gettimeofday.m4 Mon Aug 06 09:49:24 2001 +0000 +++ b/m4/gettimeofday.m4 Sun Aug 12 08:30:03 2001 +0000 @@ -9,7 +9,7 @@ dnl If it does, then arrange to use gettimeofday only via the wrapper dnl function that works around the problem. -AC_DEFUN(AC_FUNC_GETTIMEOFDAY_CLOBBER, +AC_DEFUN([AC_FUNC_GETTIMEOFDAY_CLOBBER], [ AC_REQUIRE([AC_HEADER_TIME]) AC_CHECK_HEADERS(string.h stdlib.h) @@ -52,8 +52,8 @@ exit (0); } ], + jm_cv_func_gettimeofday_clobber=no, jm_cv_func_gettimeofday_clobber=yes, - jm_cv_func_gettimeofday_clobber=no, dnl When crosscompiling, assume it is broken. jm_cv_func_gettimeofday_clobber=yes) ]) @@ -61,5 +61,8 @@ AC_LIBOBJ(gettimeofday) AC_DEFINE_UNQUOTED(gettimeofday, rpl_gettimeofday, [Define to rpl_gettimeofday if the replacement function should be used.]) + jm_gtod_init_rhs='GTOD_init ()' + AC_DEFINE(GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, 1, + [Define if gettimeofday clobbers localtime's static buffer.]) fi ])