[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ebcdic rule
From: |
Harlan Stenn |
Subject: |
Re: Ebcdic rule |
Date: |
Wed, 03 Oct 2001 15:50:43 -0400 |
User-agent: |
EMH/1.10.0 SEMI/1.13.3 (Komaiko) FLIM/1.12.7 (Y.Dþzaki) XEmacs/21.1 (20 Minutes to Nikko) (i386-unknown-freebsd2.2.8) |
Somebody can write an AC_CHARSET_{ASCII,EBCDIC} macro that embodies that
test.
It gets carried around inside autoconf so improvements/changes can be easily
used, and then it gets dropped in to config.h (does
'-DCHARSET_EBCDIC=('A'==0xXY) work as a CFLAG item if config.h isn't being
used?).
Best of both worlds?
H
--
> On Tue, Oct 02, 2001 at 03:49:31PM -0700, Paul Eggert wrote:
> > Yes, but Autoconf-based tools that run on EBCDIC mainframes (e.g. GNU
> > make) don't seem to need special Autoconf support. EBCDICness is
> > easily checked at compile-time already, so I don't offhand see why
> > this is an Autoconf issue.
>
> 1. Autoconf seems philosophically the Right Place for it, since
> it's where all the rest of that work is being done.
>
> 2. More practically, doing it once, right, in Autoconf means that
> everyone else doesn't have to reinvent the wheel (perhaps
> incorrectly). (Suppose that for some reason we can't imagine,
> the 'A'==0xXY test turns out to be insufficient; it'll only
> have to get fixed once.)
>
> Your C-based approach looks the right way to implement the test,
> given concerns about echo portability, but that test could live
> as easily in an Autoconf macro as in the application(s).
>
> Purely theoretical for me -- I don't expect to ever use an IBM
> mainframe again -- but it seems to be of practical import to some
> folks.
>
> --
>
> | | /\
> |-_|/ > Eric Siegerman, Toronto, Ont. address@hidden
> | | /
> The world has been attacked. The world must respond ... [but] we must
> be guided by a commitment to do what works in the long run, not by what
> makes us feel better in the short run.
> - Jean Chrétien, Prime Minister of Canada
- Ebcdic rule, Pfeiffer Daniel, 2001/10/02
- Re: Ebcdic rule, Paul Eggert, 2001/10/02
- Re: Ebcdic rule, Russ Allbery, 2001/10/02
- Re: Ebcdic rule, Paul Eggert, 2001/10/02
- Re: Ebcdic rule, Eric Siegerman, 2001/10/03
- Re: Ebcdic rule,
Harlan Stenn <=
- Re: Ebcdic rule, Paul Eggert, 2001/10/04
- Re: Ebcdic rule, Mike Castle, 2001/10/04
- Re: Autoconf, DOS and NT (was Ebcdic rule), Paul Eggert, 2001/10/04
- Re: Autoconf, DOS and NT (was Ebcdic rule), Mike Castle, 2001/10/04
- Re: Autoconf, DOS and NT (was Ebcdic rule), Paul Eggert, 2001/10/04
- Re: Autoconf, DOS and NT (was Ebcdic rule), Earnie Boyd, 2001/10/04
- Re: Autoconf, DOS and NT (was Ebcdic rule), Paul Eggert, 2001/10/04