# $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
: 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
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