diff options
Diffstat (limited to 'binutils/aclocal.m4')
-rw-r--r-- | binutils/aclocal.m4 | 18 |
1 files changed, 9 insertions, 9 deletions
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 |