From d236ccb95d1ebe924ffbb1e34a9e406c12cee1a2 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 8 May 2011 18:09:39 +0200 Subject: [PATCH] tzset: Fix gettimeofday wrapper on Solaris 2.6. * m4/tzset.m4 (gl_FUNC_TZSET_CLOBBER): When invoking gl_GETTIMEOFDAY_REPLACE_LOCALTIME, also set REPLACE_GETTIMEOFDAY. --- ChangeLog | 6 ++++++ m4/tzset.m4 | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 67e79933de..3844aea365 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-08 Bruno Haible + + tzset: Fix gettimeofday wrapper on Solaris 2.6. + * m4/tzset.m4 (gl_FUNC_TZSET_CLOBBER): When invoking + gl_GETTIMEOFDAY_REPLACE_LOCALTIME, also set REPLACE_GETTIMEOFDAY. + 2011-05-07 Paul Eggert ignore-value, verify: Omit include files from lib_SOURCES. diff --git a/m4/tzset.m4 b/m4/tzset.m4 index 28ad00f797..3c78b3b269 100644 --- a/m4/tzset.m4 +++ b/m4/tzset.m4 @@ -1,4 +1,4 @@ -# serial 4 +# serial 5 # Copyright (C) 2003, 2007, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -49,6 +49,7 @@ main () [Define to 1 if you have run the test for working tzset.]) if test $gl_cv_func_tzset_clobber = yes; then + REPLACE_GETTIMEOFDAY=1 gl_GETTIMEOFDAY_REPLACE_LOCALTIME AC_DEFINE([tzset], [rpl_tzset], -- 2.30.2