diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-16 23:11:04 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-16 23:11:04 +0000 |
commit | 0f0995aead468478b4762a509b5b43b9cae39825 (patch) | |
tree | c027fea0479549331cb321e5c81bcd975f669156 /Configure | |
parent | bf0c440fce1b379160a009c06867702b38dd9366 (diff) | |
download | perl-0f0995aead468478b4762a509b5b43b9cae39825.tar.gz |
Regularize the use* questions, and replace
"Configure *must* be run with -Duse..." with.
"can be run".
p4raw-id: //depot/cfgperl@5120
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 71 |
1 files changed, 35 insertions, 36 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Wed Feb 16 22:28:06 EET 2000 [metaconfig 3.0 PL70] +# Generated on Thu Feb 17 01:07:48 EET 2000 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <<EOF @@ -2611,21 +2611,23 @@ $undef$define) . ./whoa; eval "$var=\$tu";; *) eval "$var=$val";; esac' +case "$usethreads" in +$define|true|[yY]*) dflt='y';; +*) dflt='n';; +esac cat <<EOM Perl can be built to take advantage of threads on some systems. -To do so, Configure must be run with -Dusethreads. +To do so, Configure can be run with -Dusethreads. Note that threading is a highly experimental feature, and some known race conditions still remain. If you choose to try it, be very sure to not actually deploy it for production purposes. README.threads has more details, and is required reading if you enable threads. + +If this doesn't make any sense to you, just accept the default '$dflt'. EOM -case "$usethreads" in -$define|true|[yY]*) dflt='y';; -*) dflt='n';; -esac rp='Build a threading Perl?' . ./myread case "$ans" in @@ -2719,12 +2721,11 @@ This multiple interpreter support is required for interpreter-based threads. EOM val="$define" ;; -*) - echo 'Normally you do not need this and you should answer no.' - case "$usemultiplicity" in +*) case "$usemultiplicity" in $define|true|[yY]*) dflt='y';; *) dflt='n';; esac + echo "If this doesn't make any sense to you, just accept the default '$dflt'." rp='Build Perl for multiplicity?' . ./myread case "$ans" in @@ -3662,18 +3663,17 @@ case "$firstmakefile" in '') firstmakefile='makefile';; esac +case "$usesocks" in +$define|true|[yY]*) dflt='y';; +*) dflt='n';; +esac cat <<EOM Perl can be built to use the SOCKS proxy protocol library. To do so, Configure must be run with -Dusesocks. -Normally you do not need this and you should answer no. - +If this doesn't make any sense to you, just accept the default '$dflt'. EOM -case "$usesocks" in -$define|true|[yY]*) dflt='y';; -*) dflt='n';; -esac rp='Build Perl for SOCKS?' . ./myread case "$ans" in @@ -4284,17 +4284,17 @@ case "$lseeksize:$fpossize" in You can have files larger than 2 gigabytes. EOM val="$define" ;; -*) cat <<EOM +*) case "$uselargefiles" in + "$undef"|false|[nN]*) dflt='n' ;; + *) dflt='y' ;; + esac + cat <<EOM Perl can be built to understand large files (files larger than 2 gigabytes) -on some systems. To do so, Configure must be run with -Duselargefiles. +on some systems. To do so, Configure can be run with -Duselargefiles. -If this doesn't make any sense to you, just accept the default 'y'. +If this doesn't make any sense to you, just accept the default '$dflt'. EOM - case "$uselargefiles" in - "$undef"|false|[nN]*) dflt='n' ;; - *) dflt='y' ;; - esac rp='Try to understand large files, if available?' . ./myread case "$ans" in @@ -4407,7 +4407,7 @@ EOM cat <<EOM Perl can be built to take advantage of 64-bit integer types -on some systems. To do so, Configure must be run with -Duse64bits. +on some systems. To do so, Configure can be run with -Duse64bits. If this doesn't make any sense to you, just accept the default '$dflt'. EOM @@ -7012,14 +7012,6 @@ fi set sqrtl d_sqrtl eval $inlibc -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. - -If this doesn't make any sense to you, just accept the default 'n'. -EOM - case "$ccflags" in *-DUSE_LONG_DOUBLE*|*-DUSE_MORE_BITS*) uselongdouble="$define" ;; esac @@ -7028,6 +7020,13 @@ case "$uselongdouble" in $define|true|[yY]*) dflt='y';; *) dflt='n';; esac +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. + +If this doesn't make any sense to you, just accept the default '$dflt'. +EOM rp='Try to use long doubles if available?' . ./myread case "$ans" in @@ -7069,6 +7068,10 @@ EOM ;; esac +case "$useperlio" in +$define|true|[yY]*) dflt='y';; +*) dflt='n';; +esac cat <<EOM Previous version of $package used the standard IO mechanisms as defined @@ -7079,12 +7082,8 @@ have sfio installed) or regular stdio. Using PerlIO with sfio may cause problems with some extension modules. Using PerlIO with stdio is safe, but it is slower than plain stdio and therefore is not the default. -If this doesn't make any sense to you, just accept the default 'n'. +If this doesn't make any sense to you, just accept the default '$dflt'. EOM -case "$useperlio" in -$define|true|[yY]*) dflt='y';; -*) dflt='n';; -esac rp='Use the experimental PerlIO abstraction layer?' . ./myread case "$ans" in |