X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/24ccb310370d2d934ea2569785a03a1d691a25e4..92731555bc557e609a4a3d41cae3427488548829:/Configure?ds=sidebyside diff --git a/Configure b/Configure index 0e86e14..075963f 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Tue Jun 5 04:50:23 EET DST 2001 [metaconfig 3.0 PL70] +# Generated on Tue Jun 12 02:31:11 EET DST 2001 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <try.c < +#include +int main() { + long double nv = 4294967303.15; + long double v, w; + v = modfl(nv, &w); +#ifdef __GLIBC__ + printf("glibc"); +#endif + printf(" %"$sPRIfldbl" %"$sPRIfldbl" %"$sPRIfldbl"\n", nv, v, w); + return 0; +} +EOCP + case "$osname:$gccversion" in + aix:) saveccflags="$ccflags" + ccflags="$ccflags -qlongdouble" ;; # to avoid core dump + esac + set try + if eval $compile; then + foo=`./try` + case "$foo" in + *" 4294967303.150000 1.150000 4294967302.000000") + echo >&4 "Your modfl() is broken for large values." + d_modfl_pow32_bug="$define" + case "$foo" in + glibc) echo >&4 "You should upgrade your glibc to at least 2.2.2 to get a fixed modfl()." + ;; + esac + ;; + *" 4294967303.150000 0.150000 4294967303.000000") + echo >&4 "Your modfl() seems okay for large values." + ;; + *) echo >&4 "I don't understand your modfl() at all." + d_modfl="$undef" + ;; + esac + $rm -f try.* try core core.try.* + else + echo "I cannot figure out whether your modfl() is okay, assuming it isn't." + d_modfl="$undef" + fi + case "$osname:$gccversion" in + aix:) $ccflags="saveccflags" ;; # restore + esac + ;; +esac + : see if mprotect exists set mprotect d_mprotect eval $inlibc @@ -12836,8 +12892,8 @@ int main() { EOCP set try if eval $compile_ok; then - echo "(This test may dump core.)" >&4 - ./try >&2 >/dev/null + echo "(Testign for character data alignment may dump core.)" >&4 + ./try 2>&1 >/dev/null case "$?" in 0) cat >&4 <