aboutsummaryrefslogtreecommitdiff
path: root/binutils/acinclude.m4
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2001-02-08 06:01:31 +0000
committerHans-Peter Nilsson <hp@axis.com>2001-02-08 06:01:31 +0000
commit8ca8f343f993cbe9937ef15e8cbbee95613c2016 (patch)
tree751ddfed85480e22e33331a65deebf7cba04955d /binutils/acinclude.m4
parent56b48a7a9bec7a6d217d3ad4ff8458cb57e4a511 (diff)
downloadgdb-8ca8f343f993cbe9937ef15e8cbbee95613c2016.zip
gdb-8ca8f343f993cbe9937ef15e8cbbee95613c2016.tar.gz
gdb-8ca8f343f993cbe9937ef15e8cbbee95613c2016.tar.bz2
* acinclude.m4 (AM_PROG_LEX): Override installed definition.
* aclocal.m4: Regenerate. * configure: Regenerate.
Diffstat (limited to 'binutils/acinclude.m4')
-rw-r--r--binutils/acinclude.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/binutils/acinclude.m4 b/binutils/acinclude.m4
index 403aa0e..7ffc031 100644
--- a/binutils/acinclude.m4
+++ b/binutils/acinclude.m4
@@ -14,3 +14,19 @@ ifelse(yes,no,[
AC_DEFUN([CY_WITH_NLS],)
AC_SUBST(INTLLIBS)
])
+
+## Replacement for AC_PROG_LEX and AC_DECL_YYTEXT
+## by Alexandre Oliva <oliva@dcc.unicamp.br>
+
+## We need to override the installed aclocal/lex.m4 because of a bug in
+## this definition in the recommended automake snapshot of 000227:
+## There were double-quotes around ``$missing_dir/missing flex'' which was
+## bad since aclocal wraps it in double-quotes.
+
+dnl AM_PROG_LEX
+dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
+AC_DEFUN(AM_PROG_LEX,
+[missing_dir=ifelse([$1],,`cd $ac_aux_dir && pwd`,$1)
+AC_CHECK_PROGS(LEX, flex lex, [$missing_dir/missing flex])
+AC_PROG_LEX
+AC_DECL_YYTEXT])