summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-12 19:06:17 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-12 19:06:17 +0000
commitb0ce926a45891e83ffb4badae874161f93c0eb49 (patch)
treea2f2a862e5772fc9327bca76b1c071c1d42ccd7d /Configure
parent48ea9154b5bf72f4cb5316d6cd8a1fc9b386ffea (diff)
downloadperl-b0ce926a45891e83ffb4badae874161f93c0eb49.tar.gz
Add Configure -Duselongdouble and add a missing semicolon.
p4raw-id: //depot/cfgperl@3969
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure31
1 files changed, 30 insertions, 1 deletions
diff --git a/Configure b/Configure
index 60df7961d6..ab71528928 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Tue Aug 10 20:19:08 EET DST 1999 [metaconfig 3.0 PL70]
+# Generated on Thu Aug 12 22:03:15 EET DST 1999 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
@@ -847,6 +847,7 @@ trnl=''
uidtype=''
archname64=''
use64bits=''
+uselongdouble=''
usemultiplicity=''
nm_opt=''
nm_so_opt=''
@@ -6449,6 +6450,33 @@ fi
cat <<EOM
+Perl can be built to take advantage of long doubles which
+(if available) may give more accuracy and range for floating point
+numbers. To do so, Configure must be run with -Duselongdouble.
+
+If this doesn't make any sense to you, just accept the default 'n'.
+EOM
+case "$uselongdouble" in
+$define|true|[yY]*) dflt='y';;
+*) dflt='n';;
+esac
+rp='Try to use long doubles if available?'
+. ./myread
+case "$ans" in
+y|Y)
+ val="$define"
+ ccflags="$ccflags -DUSE_LONG_DOUBLE"
+ ;;
+*)
+ val="$undef"
+ ;;
+esac
+set uselongdouble
+eval $setvar
+
+
+cat <<EOM
+
Previous version of $package used the standard IO mechanisms as defined
in <stdio.h>. Versions 5.003_02 and later of perl allow alternate IO
mechanisms via a "PerlIO" abstraction, but the stdio mechanism is still
@@ -14076,6 +14104,7 @@ uname='$uname'
uniq='$uniq'
use64bits='$use64bits'
usedl='$usedl'
+uselongdouble='$uselongdouble'
usemultiplicity='$usemultiplicity'
usemymalloc='$usemymalloc'
usenm='$usenm'