diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-05 01:42:44 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-05 01:42:44 +0000 |
commit | b29b105d35c9cfa06469ba931add920b89930b90 (patch) | |
tree | 5f237c61b2642cb529aa42b98d2672d854e8717f /Configure | |
parent | 4c18bbd32f64fb5117e27f750e0f7f223d17760d (diff) | |
download | perl-b29b105d35c9cfa06469ba931add920b89930b90.tar.gz |
Disable the combination of ithreads but not perlio.
p4raw-id: //depot/perl@16999
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 161 |
1 files changed, 88 insertions, 73 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Wed Jun 5 04:17:01 EET DST 2002 [metaconfig 3.0 PL70] +# Generated on Wed Jun 5 05:41:33 EET DST 2002 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -3426,13 +3426,88 @@ $undef$define) . ./whoa; eval "$var=\$tu";; *) eval "$var=$val";; 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. If you use SOCKS you also need +to use the PerlIO abstraction layer, this will be implicitly selected. + +If this doesn't make any sense to you, just accept the default '$dflt'. +EOM +rp='Build Perl for SOCKS?' +. ./myread +case "$ans" in +y|Y) val="$define" ;; +*) val="$undef" ;; +esac +set usesocks +eval $setvar + +case "$usesocks" in +$define|true|[yY]*) useperlio="$define";; +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 in <stdio.h>. Versions 5.003_02 and later of $package allow +alternate IO mechanisms via the PerlIO abstraction layer, but the +stdio mechanism is still available if needed. The abstraction layer +can use AT&T's sfio (if you already have sfio installed) or regular stdio. +Using PerlIO with sfio may cause problems with some extension modules. + +If this doesn't make any sense to you, just accept the default '$dflt'. +EOM +rp='Use the PerlIO abstraction layer?' +. ./myread +case "$ans" in +y|Y) + val="$define" + ;; +*) + echo "Ok, doing things the stdio way." + val="$undef" + ;; +esac +set useperlio +eval $setvar + +case "$usesocks" in +$define|true|[yY]*) + case "$useperlio" in + $define|true|[yY]*) ;; + *) cat >&4 <<EOM + +You are using the SOCKS proxy protocol library which means that you +should also use the PerlIO layer. You may be headed for trouble. + +EOM + ;; + esac + ;; +esac + + case "$usethreads" in $define|true|[yY]*) dflt='y';; *) # Catch case where user specified ithreads or 5005threads but # forgot -Dusethreads (A.D. 4/2002) case "$useithreads$use5005threads" in - *$define*) dflt='y' ;; - *) dflt='n';; + *$define*) + case "$useperlio" in + "$define") dflt='y' ;; + *) dflt='n' ;; + esac + ;; + *) dflt='n';; esac ;; esac @@ -3514,6 +3589,16 @@ EOM ;; esac +if test X"$usethreads" = "X$define" -a "X$useperlio" = "Xundef"; then + cat >&4 <<EOF +*** +*** To build with ithreads you must also use the PerlIO layer. +*** Cannot continue, aborting. +*** +EOF + exit 1 +fi + case "$d_oldpthreads" in '') : Configure tests would be welcome here. For now, assume undef. val="$undef" ;; @@ -4365,31 +4450,6 @@ 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. If you use SOCKS you also need -to use the PerlIO abstraction layer, this will be implicitly selected. - -If this doesn't make any sense to you, just accept the default '$dflt'. -EOM -rp='Build Perl for SOCKS?' -. ./myread -case "$ans" in -y|Y) val="$define" ;; -*) val="$undef" ;; -esac -set usesocks -eval $setvar - -case "$usesocks" in -$define|true|[yY]*) useperlio="$define";; -esac - : Looking for optional libraries echo " " echo "Checking for optional libraries..." >&4 @@ -6103,51 +6163,6 @@ EOM uselongdouble=$undef fi -case "$useperlio" in -$define|true|[yY]*|'') dflt='y';; -*) dflt='n';; -esac -cat <<EOM - -Previous version of $package used the standard IO mechanisms as -defined in <stdio.h>. Versions 5.003_02 and later of $package allow -alternate IO mechanisms via the PerlIO abstraction layer, but the -stdio mechanism is still available if needed. The abstraction layer -can use AT&T's sfio (if you already have sfio installed) or regular stdio. -Using PerlIO with sfio may cause problems with some extension modules. - -If this doesn't make any sense to you, just accept the default '$dflt'. -EOM -rp='Use the PerlIO abstraction layer?' -. ./myread -case "$ans" in -y|Y) - val="$define" - ;; -*) - echo "Ok, doing things the stdio way." - val="$undef" - ;; -esac -set useperlio -eval $setvar - -case "$usesocks" in -$define|true|[yY]*) - case "$useperlio" in - $define|true|[yY]*) ;; - *) cat >&4 <<EOM - -You are using the SOCKS proxy protocol library which means that you -should also use the PerlIO layer. You may be headed for trouble. - -EOM - ;; - esac - ;; -esac - - : determine the architecture name echo " " if xxx=`./loc arch blurfl $pth`; $test -f "$xxx"; then |