From e692396584de5b495575f50860b91d37ebd2ff51 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 4 Apr 2010 23:13:31 +0200 Subject: [PATCH] strtod: Avoid a possible C++ test error. --- ChangeLog | 6 ++++++ m4/strtod.m4 | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 195c1facb..1a3b202f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-04-04 Bruno Haible + strtod: Avoid a possible C++ test error. + * m4/strtod.m4 (gl_FUNC_STRTOD): When setting HAVE_STRTOD to 0, don't + set REPLACE_STRTOD. + +2010-04-04 Bruno Haible + strerror: Update documentation. * doc/posix-functions/strerror.texi: Remove mention of old platforms. diff --git a/m4/strtod.m4 b/m4/strtod.m4 index 6b2d73176..4cccb6dc6 100644 --- a/m4/strtod.m4 +++ b/m4/strtod.m4 @@ -1,4 +1,4 @@ -# strtod.m4 serial 13 +# strtod.m4 serial 14 dnl Copyright (C) 2002-2003, 2006-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -11,7 +11,6 @@ AC_DEFUN([gl_FUNC_STRTOD], dnl Note: AC_FUNC_STRTOD does AC_LIBOBJ([strtod]). if test $ac_cv_func_strtod = no; then HAVE_STRTOD=0 - REPLACE_STRTOD=1 gl_PREREQ_STRTOD else AC_CACHE_CHECK([whether strtod obeys C99], [gl_cv_func_strtod_works], -- 2.11.0