summaryrefslogtreecommitdiff
path: root/m4/lex.m4
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1999-11-21 21:35:41 +0000
committerTom Tromey <tromey@redhat.com>1999-11-21 21:35:41 +0000
commit9ae48df8e8eefbd30407cc1c8c19f912620ed3e0 (patch)
tree8994b36727ce371137d84dc05000976a16f33690 /m4/lex.m4
parent27fca19d8b63bd4263af159926c57d441772a223 (diff)
downloadautomake-9ae48df8e8eefbd30407cc1c8c19f912620ed3e0.tar.gz
Merged from user-dep-gen-branch.
Diffstat (limited to 'm4/lex.m4')
-rw-r--r--m4/lex.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/lex.m4 b/m4/lex.m4
index bb49045fe..f3c20e5c8 100644
--- a/m4/lex.m4
+++ b/m4/lex.m4
@@ -4,7 +4,7 @@
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_REQUIRE([AM_MISSING_HAS_RUN])
+AC_CHECK_PROGS(LEX, flex lex, [${am_missing_run}flex])
AC_PROG_LEX
AC_DECL_YYTEXT])