From: Perl 5 Porters Date: Thu, 20 Jun 1996 22:12:12 +0000 (+0000) Subject: Configure now tests gcvt() more thoroughly. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0580eb45557d8bd2bfd4c5cf6a2a0af738aa410f;p=p5sagit%2Fp5-mst-13.2.git Configure now tests gcvt() more thoroughly. --- diff --git a/hints/linux.sh b/hints/linux.sh index b76ee89..afec2fa 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -148,16 +148,4 @@ EOM fi -# Avoid some troublesome gcvt() functions. With some libc versions, -# perl -e '$x=1e5; print "$x\n";' prints 1e+5. We'd like it -# to print 100000 instead, consistent with the integer value given -# on other platforms. This isn't a bug in gcvt, really; more in our -# expectations for it. We'd like it to behave exactly as -# sprintf %.16g, but it isn't documented to do that. -# -# We'll use sprintf() instead, since we can control the output more -# precisely. -# -# The next version of Configure will check for this automatically. -d_Gconvert='sprintf((b),"%.*g",(n),(x))'