From 8ca8f343f993cbe9937ef15e8cbbee95613c2016 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Thu, 8 Feb 2001 06:01:31 +0000 Subject: * acinclude.m4 (AM_PROG_LEX): Override installed definition. * aclocal.m4: Regenerate. * configure: Regenerate. --- binutils/aclocal.m4 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'binutils/aclocal.m4') diff --git a/binutils/aclocal.m4 b/binutils/aclocal.m4 index e68badb..37c162a 100644 --- a/binutils/aclocal.m4 +++ b/binutils/aclocal.m4 @@ -45,6 +45,15 @@ AC_DEFUN(AC_ISC_POSIX, ] ) + +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]) + # Do all the work for Automake. This macro actually does too much -- # some checks are only needed if your package does certain things. # But this isn't really a big deal. @@ -160,15 +169,6 @@ for am_file in <<$1>>; do done<<>>dnl>>) changequote([,]))]) - -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]) - # Add --enable-maintainer-mode option to configure. # From Jim Meyering -- cgit v1.1