diff options
author | Alan Modra <amodra@gmail.com> | 2016-01-18 16:06:49 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-01-18 22:17:57 +1030 |
commit | 3d961d0d3a797b4d463024a11131e96c213dee27 (patch) | |
tree | 0bf38009a6b32cba6004c18a6ce002821312b631 /ld | |
parent | eb0edac83f82516bbbd5a0412bbdf7fd27c687f2 (diff) | |
download | gdb-3d961d0d3a797b4d463024a11131e96c213dee27.zip gdb-3d961d0d3a797b4d463024a11131e96c213dee27.tar.gz gdb-3d961d0d3a797b4d463024a11131e96c213dee27.tar.bz2 |
Provide AC_PROG_LEX that copes with LEX=missing from top-level
config/
PR binutils/19481
* override.m4 (AC_PROG_LEX): Define.
binutils/
* configure: Regenerate.
gas/
* configure: Regenerate.
ld/
* configure: Regenerate.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rwxr-xr-x | ld/configure | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index ba6c463..b99b170 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2016-01-18 Alan Modra <amodra@gmail.com> + + * configure: Regenerate. + 2016-01-18 Nick Clifton <nickc@redhat.com> * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker diff --git a/ld/configure b/ld/configure index 65b280c..2141ee7 100755 --- a/ld/configure +++ b/ld/configure @@ -16130,8 +16130,9 @@ fi done test -n "$LEX" || LEX=":" -if test "x$LEX" != "x:"; then - cat >conftest.l <<_ACEOF +case "$LEX" in + :|*"missing "*) ;; + *) cat >conftest.l <<_ACEOF %% a { ECHO; } b { REJECT; } @@ -16242,8 +16243,8 @@ $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h fi rm -f conftest.l $LEX_OUTPUT_ROOT.c - -fi + ;; +esac if test "$LEX" = :; then LEX=${am_missing_run}flex fi |