diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-11-24 12:38:56 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-11-24 12:38:56 +0100 |
commit | fe1625a4b00b402d6333be0d7999a41ed4983204 (patch) | |
tree | 49f117686cf56c02f884ae063294d71407576d6d /t | |
parent | 6d1fe29e2c844fe3d50267af02ae69e687fd5e37 (diff) | |
parent | 411ada9995cb7d66ea2ede4334172fb9be39ae94 (diff) | |
download | automake-fe1625a4b00b402d6333be0d7999a41ed4983204.tar.gz |
Merge branch 'maint'
* maint:
tests: fix a spurious failure with older flex versions
Diffstat (limited to 't')
-rwxr-xr-x | t/lex-header.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/lex-header.sh b/t/lex-header.sh index d50a1ef20..f1283f662 100755 --- a/t/lex-header.sh +++ b/t/lex-header.sh @@ -20,6 +20,12 @@ required='cc flex' . test-init.sh +# Here, we need to use the use flex option '--header-file', but some +# older flex versions don't support is (see automake bug#11524 and +# bug#12836). Skip this test if such an old flex version is detected. +$LEX --help | grep '.*--header-file' \ + || skip_ "flex doesn't support the --header-file' option" + cat >> configure.ac << 'END' AC_PROG_CC AC_PROG_LEX |