Change 17698 by [EMAIL PROTECTED] on 2002/08/08 14:52:45
Subject: [perl #16000] Configure -Dstatic_ext=foo builds foo as both static
and dynamic
From: Yitzchak Scott-Thoennes (via RT) <[EMAIL PROTECTED]>
Date: 6 Aug 2002 04:28:15 -0000 (Tue 05:28 BST)
Message-id: <[EMAIL PROTECTED]>
Affected files ...
.... //depot/perl/Configure#474 edit
Differences ...
==== //depot/perl/Configure#474 (xtext) ====
Index: perl/Configure
--- perl/Configure#473~17671~ Sat Aug 3 18:11:32 2002
+++ perl/Configure Thu Aug 8 07:52:45 2002
@@ -19424,7 +19424,19 @@
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
End of Patch.