Hi Tim,
since you added the code to extreme and icl that configures for flex/lex
maybe you can say why you added this section (other than the autoconf info
pages says so):
if test "$LEX" != flex; then
LEX="$SHELL $missing_dir/missing flex"
AC_SUBST(LEX_OUTPUT_ROOT, lex.yy)
AC_SUBST(LEXLIB, '')
fi
because it seems to be broken when you use lex, rather than flex. The
initial problem is that "missing_dir" is never defined (this is also true
under Linux), but when you work around that (by using $MISSING for the
whole of "$SHELL $missing_dir/missing") all you get at the end is a dummy
source file with a repeated "main" declaration, so that seems to imply
that you can only ever use flex, which is clearly not want I'd say we
need, lex can be fine.
Just removing this section seems to get things working with flex or lex,
but given the pain you (and Mark and Norman) seem to have gone through
with flex/lex, best to ask first.
Peter.
|