summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2002-04-16 09:39:14 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-16 22:09:56 +0000
commitf1f6834f1aab62b16fad0d2701b8ba1ff5fabddf (patch)
tree96408b87e6f4c346c79341a2758a5a2ef0d57193 /Configure
parentfe7bca907fe77f091cc40c458c768c0db469e921 (diff)
downloadperl-f1f6834f1aab62b16fad0d2701b8ba1ff5fabddf.tar.gz
Re: [-Uusedl] Encode does work but perl -V goes funny!
Message-ID: <Pine.SOL.4.10.10204161333450.28145-100000@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@15959
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure26
1 files changed, 15 insertions, 11 deletions
diff --git a/Configure b/Configure
index a29caa31a7..57e166c0b3 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 Sun Apr 14 18:24:18 EET DST 2002 [metaconfig 3.0 PL70]
+# Generated on Wed Apr 17 02:10:04 EET DST 2002 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -19461,16 +19461,6 @@ EOM
: Exclude those that are not xs extensions
case "$dflt" in
'') dflt=none;;
- *) case " $dflt " in
- *" Encode "*) # Add the subextensions of Encode
- cd "$rsrc/ext"
- for xxx in `ls Encode/*/Makefile.PL|awk -F/ '{print $2}'`; do
- dflt="$dflt Encode/$xxx"
- done
- cd "$tdir"
- ;;
- esac
- ;;
esac
rp="What extensions do you wish to include?"
. ./myread
@@ -19480,6 +19470,20 @@ EOM
esac
;;
esac
+#
+# Encode is a special case. If we are building Encode as a static
+# extension, we need to explicitly list its subextensions as well.
+# For other nested extensions, this is handled automatically by
+# the appropriate Makefile.PL.
+case " $static_ext " in
+ *" Encode "*) # Add the subextensions of Encode
+ cd "$rsrc/ext"
+ for xxx in `ls Encode/*/Makefile.PL|awk -F/ '{print $2}'`; do
+ static_ext="$static_ext Encode/$xxx"
+ done
+ cd "$tdir"
+ ;;
+esac
set X $dynamic_ext $static_ext $nonxs_ext
shift