X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fstrtod.m4;h=bbe99bc72adcf7b5e2d7e79fa84d27889cd6bcba;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=e83e89882c568b9de7cfde83eab9e26deab062eb;hpb=c6d98d8cd52c163c2dba42a41da25356c4dad9f0;p=gnulib.git diff --git a/m4/strtod.m4 b/m4/strtod.m4 index e83e89882..bbe99bc72 100644 --- a/m4/strtod.m4 +++ b/m4/strtod.m4 @@ -1,5 +1,5 @@ -# strtod.m4 serial 21 -dnl Copyright (C) 2002-2003, 2006-2011 Free Software Foundation, Inc. +# strtod.m4 serial 22 +dnl Copyright (C) 2002-2003, 2006-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -112,11 +112,14 @@ numeric_equal (double x, double y) #endif #endif ], - [gl_cv_func_strtod_works=yes], + [gl_cv_func_strtod_works="guessing yes"], [gl_cv_func_strtod_works="guessing no"])])]) - if test "$gl_cv_func_strtod_works" != yes; then - REPLACE_STRTOD=1 - fi + case "$gl_cv_func_strtod_works" in + *yes) ;; + *) + REPLACE_STRTOD=1 + ;; + esac fi ])