autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix LEXLIB and YYTEXT_POINTER on non-ANSI systems.


From: Paul Eggert
Subject: Re: [PATCH] Fix LEXLIB and YYTEXT_POINTER on non-ANSI systems.
Date: Wed, 04 Jan 2012 00:33:10 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0

On 01/04/12 00:01, Peter Rosin wrote:
> Below is a patch that makes the lex library detection and
>> the yytext-pointer tests not stumble when the system does
>> not provide a unistd.h include.

Are the tests really stumbling in that case?
If 'lex' generates .c files that don't work
unless one #defines a magic symbol, then arguably
'lex' isn't working.

Perhaps a better fix would be for 'configure'
to #define YY_NO_UNISTD_H as needed, and
to leave contest.l alone?  That way, the fix
would be visible to C programs that are being
compiled.



reply via email to

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