diff options
author | Yitzchak Scott-Thoennes <sthoenna@efn.org> | 2002-08-06 04:28:15 +0000 |
---|---|---|
committer | hv <hv@crypt.org> | 2002-08-08 14:52:45 +0000 |
commit | 736accd3cd04ba6a7a2bd59103c2b280027984c6 (patch) | |
tree | 34f60657a78035d154c3507c1caae39bd03182b3 /Configure | |
parent | feb6f007033805f50279da3c0c8a2b3dc41cec48 (diff) | |
download | perl-736accd3cd04ba6a7a2bd59103c2b280027984c6.tar.gz |
[perl #16000] Configure -Dstatic_ext=foo builds foo as both static and dynamic
From: Yitzchak Scott-Thoennes (via RT) <perlbug@perl.org>
Message-id: <rt-16000-32913.8.41582281961522@bugs6.perl.org>
p4raw-id: //depot/perl@17698
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -19424,7 +19424,19 @@ Note that DynaLoader is always built and need not be mentioned here. EOM case "$dynamic_ext" in - '') dflt="$avail_ext" ;; + '') + : Exclude those listed in static_ext + dflt='' + for xxx in $avail_ext; do + case " $static_ext " in + *" $xxx "*) ;; + *) dflt="$dflt $xxx" ;; + esac + done + set X $dflt + shift + dflt="$*" + ;; *) dflt="$dynamic_ext" # Perhaps we are reusing an old out-of-date config.sh. case "$hint" in |