diff options
author | Vladimir Volovich <vvv@vsu.ru> | 2008-03-26 16:13:09 +0000 |
---|---|---|
committer | Vladimir Volovich <vvv@vsu.ru> | 2008-03-26 16:13:09 +0000 |
commit | df5a68d2ee5f8dc2c8344a5dd71009ba6e221dcf (patch) | |
tree | 21f0f7cc53033ae96f2aa4e47d8cc8e89103cfb6 /Build/source/utils/xindy/configure | |
parent | 83b9d74037930bd0ad6046bdf8b8b82eb7521cb2 (diff) |
move the test for "LEX is not found" right after AC_PROG_LEX
git-svn-id: svn://tug.org/texlive/trunk@7167 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/xindy/configure')
-rwxr-xr-x | Build/source/utils/xindy/configure | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Build/source/utils/xindy/configure b/Build/source/utils/xindy/configure index 43662f48190..5e9e3be3450 100755 --- a/Build/source/utils/xindy/configure +++ b/Build/source/utils/xindy/configure @@ -3567,6 +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; }; } # 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: @@ -3678,10 +3681,6 @@ echo "${ECHO_T}no" >&6; } 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; }; } - # Check whether --enable-make-rules was given. if test "${enable_make_rules+set}" = set; then enableval=$enable_make_rules; |