Re: Jive -> Kernel (International Linux)

Aaron M. Ucko (amu@MIT.EDU)
18 Jan 1997 20:34:20 -0500


William Sowerbutts <btg@thepentagon.com> writes:

> So do we just add "#define BYE_french BYE_generic"? Well, what about when
> we want to add support for Elbonian? We'd have to trash through all the
> files, adding "#define BYE_elbonian BYE_generic" and so on for each and
> every message. Not a good prospect.
>
> There must be some clever way to do this with preprocessor directives, so
> that INTERNATIONAL(BYE) would expand to BYE_generic instead of BYE_french
> (in the given example), and also if LANGUAGE was defined as something that
> the kernel didn't know of. So saying -DLANGUAGE=_elbonain with a
> non-Elbonian capable kernel would just result in every message being _generic.

The preprocessor simply isn't powerful enough to do this sort of thing.

-- 
Aaron M. Ucko (amu@mit.edu) | For Geek Code, PGP public key, and other info,
finger amu@monk.mit.edu. | "Kids! Bringing about Armageddon can be dangerous.
Do not attempt it in your home." -- T. Pratchett & N. Gaiman, _Good Omens_