On Mon, Jan 01, 2001 at 11:38:48AM -0700, [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to