This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: automake & flex's -P option
- From: Akim Demaille <akim at epita dot fr>
- To: Richard Dawe <rich at phekda dot freeserve dot co dot uk>
- Cc: automake at gnu dot org
- Date: Thu, 13 Mar 2003 10:07:49 +0100
- Subject: Re: automake & flex's -P option
- References: <3E63E107.83C716C9@phekda.freeserve.co.uk>
| Hello.
Hi!
| I recently converted one of my projects to autoconf 2.57 & automake
| 1.7.3. I'm not bothered about portability to systems other than
| DJGPP or Linux. In particular I've been using switches that are
| particular to flex and bison: those to set the prefix of the lexer
| and parser's function and varibable names. This works fine with
| bison. But not with flex, because it modifies the output file name
| from lexyy.c to lexfoo.c. ($LEX_OUTPUT_ROOT == lexyy for DJGPP.)
Nope, use %option outfile in addition to %option prefix.