summaryrefslogtreecommitdiff
path: root/hints/os2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/os2.sh')
-rw-r--r--hints/os2.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/os2.sh b/hints/os2.sh
index 9c1355cba4..77085a89b4 100644
--- a/hints/os2.sh
+++ b/hints/os2.sh
@@ -111,6 +111,15 @@ i_dlfcn='define'
# The default one uses exponential notation between 0.0001 and 0.1
d_Gconvert='gcvt_os2((x),(n),(b))'
+cat > UU/uselongdouble.cbu <<'EOCBU'
+# This script UU/uselongdouble.cbu will get 'called-back' by Configure
+# after it has prompted the user for whether to use long doubles.
+# If we will use them, let Configure choose us a Gconvert.
+case "$uselongdouble:$d_longdbl:$d_sqrtl:$d_modfl" in
+"$define:$define:$define:$define") d_Gconvert='' ;;
+esac
+EOCBU
+
# -Zomf build has a problem with _exit() *flushing*, so the test
# gets confused:
fflushNULL="define"