summaryrefslogtreecommitdiff
path: root/hints/aix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/aix.sh')
-rw-r--r--hints/aix.sh18
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 / /'`