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

Re: (fwd) Tetex with Flex 2.5.31



Hilmar Preusse writes:

> On 02.01.04 Thomas Esser (te@dbs.uni-hannover.de) wrote:
> Hi,

>> > Down here in debian-tetex-maint we've got a suggestion how to work
>> > around the incompatibility between the new flex and the old
>> > tetex-src-2.0.2/texk/web2c/omegafonts/pl.l. Suggested patch attached.
>> > Atsuhito has tried it out and said it's working fine.
>> 
>> Adding -l does not work with all versions of lex. But, it should always
>> work for flex, so I finally came up with adding
>> 
>> # Work around a problem with Flex Version 2.5.31 which needs -l flag.
>> # Since all versions of flex support -l, don't check for the
>> # specific version.
>> test "x$LEX" = xflex && LEX='flex -l'
>> 
>> after AC_PROG_LEX in texk/web2c/configure.in.
>> 
> Thanks for response and your excellent work! So the temporary patch
> for #191942 can probably be taken out after next teTeX-release

Actually, I figure that

          case $LEX in
          *flex) LEX="$LEX -l" ;;
          esac

is probably better than the if-statement.

-- 
Olaf Weber

               (This space left blank for technical reasons.)



Reply to: