diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-08-31 20:08:10 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-08-31 20:24:09 -0400 |
commit | 5df8ece29fd957870ec28e269ef416b1536e92d0 (patch) | |
tree | 3fa94df6ea35e3958764fbe6ffb8428a14be518d /hints | |
parent | fa86ae13872f74d2cb666552bfbe1b1bdd361267 (diff) | |
download | perl-5df8ece29fd957870ec28e269ef416b1536e92d0.tar.gz |
AIX: allow one to keep long doubles, even if broken.
Diffstat (limited to 'hints')
-rw-r--r-- | hints/aix.sh | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index 22a3310e1a..317e743bc8 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -562,8 +562,22 @@ EOF case `./inf$$` in INF) echo "Your infinity is working correctly with long doubles." >&4 ;; *) # NaNQ - echo "Your infinity is broken, disabling long doubles." >&4 - uselongdouble=undef + echo " " + echo "Your infinity is broken, I suggest disabling long doubles." >&4 + echo "The t/op/infnan.t will fail if broken long doubles are enabled. ">&4 + rp="Disable long doubles?" + dflt="y" + . UU/myread + case "$ans" in + [Yy]*) + echo "Okay, disabling long doubles." >&4 + uselongdouble=undef + ;; + *) + echo "Okay, keeping long doubles enabled." >&4 + echo "But please note that t/op/infnan.t will fail a lot." >&4 + ;; + esac ccflags=`echo " $ccflags " | sed -e 's/ -qlongdouble / /'` libswanted=`echo " $libswanted " | sed -e 's/ c128/ /'` lddlflags=`echo " $lddlflags " | sed -e 's/ -lc128 / /'` |