That old version is unfortunately still relevant, being the one installed on NetBSD 5.1.
* t/lex-multiple.sh: Use the '-o' option rather than the longer equivalent '--outfile'. The latter is not supported by older versions of flex (e.g., flex 2.5.4). Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com> --- t/lex-multiple.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/lex-multiple.sh b/t/lex-multiple.sh index e1c71a1..5759959 100755 --- a/t/lex-multiple.sh +++ b/t/lex-multiple.sh @@ -43,11 +43,11 @@ liblex_a_SOURCES = 0.l # We need the output to always be named 'lex.yy.c', in order for # ylwrap to pick it up. -liblex_foo_a_LFLAGS = -Pfoo --outfile=lex.yy.c +liblex_foo_a_LFLAGS = -Pfoo -olex.yy.c liblex_foo_a_SOURCES = a.l # Ditto. -liblex_bar_a_LFLAGS = -Pbar_ --outfile=lex.yy.c +liblex_bar_a_LFLAGS = -Pbar_ -olex.yy.c liblex_bar_a_SOURCES = b.l END -- 1.8.3.rc0.19.g7e6a0cc