X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/eaa5a4a2c0c31e24b252e23ecfd04a2a6c3d80a8..bef5f0791f598e360cf5fd6b8d073db19bd2955c:/hints/dec_osf.sh diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index ff8c374..71bc05f 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -70,12 +70,13 @@ case "`$cc -v 2>&1 | grep cc`" in if test "$1" -lt 2 -o \( "$1" -eq 2 -a \( "$2" -lt 95 -o \( "$2" -eq 95 -a "$3" -lt 2 \) \) \); then cat >&4 <&1`" in */gemc_cc*) # we have the new DEC GEM CC @@ -280,10 +281,29 @@ 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))' ;; +$define|true|[yY]*) + case "`/usr/sbin/sizer -v`" in + *[1-4].0*) cat >&4 <