[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Autoconf EBCDIC test simplification [PATCH]

From: Thomas Dickey
Subject: Re: lynx-dev Autoconf EBCDIC test simplification [PATCH]
Date: Mon, 1 Jan 2001 13:53:55 -0500
User-agent: Mutt/1.2.5i

On Mon, Jan 01, 2001 at 11:38:48AM -0700, address@hidden wrote:
> Hello, Lyncei,
> It occurred to me suddenly, however belatedly, how Rube Goldbergian it is
> to have a couple dozen lines in aclocal.m4 which expand to more lines
> in configure which cause a compilation to be performed which merely
> succeeds or fails depending on a #if so that configure can set a flag
> in config.cache so code in config.hin can cause configure to later test
> that flag and possibly cause a couple macros to be defined in lynx_cfg.h.

you would probably appreciate the configure script which I wrote for tin,
which relies on including some of the files to be built to get the right
flavor of definitions for network libraries...
> (I know how I got to this point, but no matter.)  It's simpler, of course
> to put the #if's and macro definitions directly in a header file.
> I'm biased, of course, by the extreme expense of a compilation on OS/390.
> Patch (attached) simplifies aclocal.m4 and config.hin and puts the #if's
> and #define's directly in HTUtils.h.
> Subject as always to editorial discretion, lest the editor(s) decide
> that this technique reduces portability, or merely that HTUtils.h is
> not the optimum place to put this code.

I guess that will work...

Thomas E. Dickey <address@hidden>

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]