diff options
author | Vladimir Volovich <vvv@vsu.ru> | 2008-03-27 13:18:59 +0000 |
---|---|---|
committer | Vladimir Volovich <vvv@vsu.ru> | 2008-03-27 13:18:59 +0000 |
commit | 479fa2d45c9efa8c3affecccd4a0d44d73147eff (patch) | |
tree | 9fcc5460d33a156f8e406a9009b124da3e098e7d /Build/source/utils/xindy/configure | |
parent | 7c39353665eb8c4c212fe37e60309021f21d2751 (diff) |
configure.ac: changed AC_PROG_LEX to AM_PROG_LEX, as recommended by the automake manual (section 8.8, Yacc and Lex support)
this uses the "missing" script if lex is not found.
added the pre-generated tex2xindy.c to the distribution.
git-svn-id: svn://tug.org/texlive/trunk@7188 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/xindy/configure')
-rwxr-xr-x | Build/source/utils/xindy/configure | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/utils/xindy/configure b/Build/source/utils/xindy/configure index addbee5ddf3..d534c11ae73 100755 --- a/Build/source/utils/xindy/configure +++ b/Build/source/utils/xindy/configure @@ -3567,9 +3567,9 @@ fi rm -f conftest.l $LEX_OUTPUT_ROOT.c fi -test "x$LEX" != "x:" || { { echo "$as_me:$LINENO: error: flex or lex is required, but not found" >&5 -echo "$as_me: error: flex or lex is required, but not found" >&2;} - { (exit 1); exit 1; }; } +if test "$LEX" = :; then + LEX=${am_missing_run}flex +fi # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: |