In metaconfig.git, the branch master has been updated <http://perl5.git.perl.org/metaconfig.git/commitdiff/e58c4b3b9deab48b39abef21eb5e0ee34c445db4?hp=beaa43a67e239fefc081d571fa2ad7039cecfac3>
- Log ----------------------------------------------------------------- commit e58c4b3b9deab48b39abef21eb5e0ee34c445db4 Author: H.Merijn Brand - Tux <[email protected]> Date: Sat Mar 9 18:52:33 2013 +0100 Add bootstrap_charset/BOOTSTRAP_CHARSET for non-ASCII architectures ----------------------------------------------------------------------- Summary of changes: U/ebcdic/ebcdic.U | 26 +++++++++++++++++++++----- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git a/U/ebcdic/ebcdic.U b/U/ebcdic/ebcdic.U index 6326938..506c205 100644 --- a/U/ebcdic/ebcdic.U +++ b/U/ebcdic/ebcdic.U @@ -8,19 +8,30 @@ ?RCS: Original author Jarkko Hietaniemi <[email protected]> ?RCS: Merged into dist by Andy Dougherty July 13, 1998 ?RCS: -?MAKE:ebcdic: Compile Setvar cat rm_try run +?MAKE:ebcdic bootstrap_charset: Compile Setvar cat rm_try run ?MAKE: -pick add $@ %< ?S:ebcdic: ?S: This variable conditionally defines EBCDIC if this -?S: system uses EBCDIC encoding. Among other things, this -?S: means that the character ranges are not contiguous. -?S: See trnl.U +?S: system uses EBCDIC encoding. +?S:. +?S:bootstrap_charset: +?S: This variable conditionally defines BOOTSTRAP_CHARSET if +?S: this system uses non-ASCII encoding. ?S:. ?C:EBCDIC: -?C: This symbol, if defined, indicates that this system uses +?C: This symbol, if defined, indicates that this system uses ?C: EBCDIC encoding. ?C:. +?C:BOOTSTRAP_CHARSET: +?C: This symbol, if defined, indicates that this system needs +?C: converting various files to the native character set before +?C: bringing up perl on a system that has a non-ASCII character +?C: set and no working perl. +?C:. +?LINT:extern BOOTSTRAP_CHARSET +?D:bootstrap_charset=undef ?H:#$ebcdic EBCDIC /**/ +?H:#$bootstrap_charset BOOTSTRAP_CHARSET /**/ ?H:. ?F:!try ?LINT:set ebcdic @@ -35,6 +46,11 @@ int main() } EOM +case "$BOOTSTRAP_CHARSET" in + Y|y|define) bootstrap_charset=$define ;; + *) bootstrap_charset=$undef ;; +esac + val=$undef set try if eval $compile_ok; then -- perl5 metaconfig repository
