summaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-01-18 16:06:49 +1030
committerAlan Modra <amodra@gmail.com>2016-01-18 22:17:57 +1030
commit3d961d0d3a797b4d463024a11131e96c213dee27 (patch)
tree0bf38009a6b32cba6004c18a6ce002821312b631 /binutils
parenteb0edac83f82516bbbd5a0412bbdf7fd27c687f2 (diff)
downloadbinutils-gdb-3d961d0d3a797b4d463024a11131e96c213dee27.tar.gz
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 'binutils')
-rw-r--r--binutils/ChangeLog4
-rwxr-xr-xbinutils/configure9
2 files changed, 9 insertions, 4 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 97dc3613a26..c5b52f4b9b2 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2016-01-18 Alan Modra <amodra@gmail.com>
+
+ * configure: Regenerate.
+
2016-01-17 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
diff --git a/binutils/configure b/binutils/configure
index e1452e33298..dc735dcc9d8 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -12112,8 +12112,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; }
@@ -12224,8 +12225,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