summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-02-29 23:12:29 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-29 23:12:29 +0000
commitf60a5d46aff4e1efa07a15a5fdcf06a277177016 (patch)
treebb2d0944f7683dcdc599fa39c98d08388348ab97
parent61eff3bce55f37db01a97cd993ca4e73fb953a10 (diff)
downloadperl-f60a5d46aff4e1efa07a15a5fdcf06a277177016.tar.gz
Tru64 hints fix from Spider Boardman; Tru64 hint for
d_Gconvert on long doubles to use sprintf %Lg. p4raw-id: //depot/cfgperl@5377
-rw-r--r--hints/dec_osf.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh
index e5970ff2ec..c149ae075a 100644
--- a/hints/dec_osf.sh
+++ b/hints/dec_osf.sh
@@ -204,7 +204,7 @@ esac
# Fixed in V5.0A.
case "`/usr/sbin/sizer -v`" in
-*5.0[A-Z]*|*[6-9].[0-9]*)
+*5.0[A-Z]*|*5.[1-9]*|*[6-9].[0-9]*)
: ok
;;
*)
@@ -215,9 +215,9 @@ esac
# The off_t is already 8 bytes, so we do have largefileness.
+cat > UU/usethreads.cbu <<'EOCBU'
# This script UU/usethreads.cbu will get 'called-back' by Configure
# after it has prompted the user for whether to use threads.
-cat > UU/usethreads.cbu <<'EOCBU'
case "$usethreads" in
$define|true|[yY]*)
# Threads interfaces changed with V4.0.
@@ -243,6 +243,14 @@ $define|true|[yY]*)
esac
EOCBU
+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.
+case "$uselongdouble" in
+$define|true|[yY]*) d_Gconvert='sprintf((b),"%.*Lg",(n),(x))' ;;
+esac
+EOCBU
+
#
# Unset temporary variables no more needed.
#