strtod: Avoid a possible C++ test error.
authorBruno Haible <bruno@clisp.org>
Sun, 4 Apr 2010 21:13:31 +0000 (23:13 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 4 Apr 2010 21:13:31 +0000 (23:13 +0200)
ChangeLog
m4/strtod.m4

index 195c1fa..1a3b202 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-04-04  Bruno Haible  <bruno@clisp.org>
 
+       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  <bruno@clisp.org>
+
        strerror: Update documentation.
        * doc/posix-functions/strerror.texi: Remove mention of old platforms.
 
index 6b2d731..4cccb6d 100644 (file)
@@ -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],