diff options
author | Vladimir Volovich <vvv@vsu.ru> | 2008-03-26 16:03:25 +0000 |
---|---|---|
committer | Vladimir Volovich <vvv@vsu.ru> | 2008-03-26 16:03:25 +0000 |
commit | 83b9d74037930bd0ad6046bdf8b8b82eb7521cb2 (patch) | |
tree | 7275175e393c986e5f759589bd86c54096875c14 /Build/source/utils/xindy | |
parent | 103d611289a27463b328bcb4da89a742358c650e (diff) |
stop if LEX (flex or lex) is not found during configure
git-svn-id: svn://tug.org/texlive/trunk@7166 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/xindy')
-rwxr-xr-x | Build/source/utils/xindy/configure | 4 | ||||
-rw-r--r-- | Build/source/utils/xindy/configure.ac | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/utils/xindy/configure b/Build/source/utils/xindy/configure index 17ef23e270e..43662f48190 100755 --- a/Build/source/utils/xindy/configure +++ b/Build/source/utils/xindy/configure @@ -3678,6 +3678,10 @@ 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; diff --git a/Build/source/utils/xindy/configure.ac b/Build/source/utils/xindy/configure.ac index de73fbb973b..6eea52f6e8e 100644 --- a/Build/source/utils/xindy/configure.ac +++ b/Build/source/utils/xindy/configure.ac @@ -34,6 +34,8 @@ AC_PROG_LEX AC_PROG_INSTALL AC_PROG_MAKE_SET +test "x$LEX" != "x:" || AC_MSG_ERROR([flex or lex is required, but not found]) + dnl test for building make-rules AC_ARG_ENABLE(make-rules, AS_HELP_STRING([--enable-make-rules],[build and install make-rules package (default is YES)])) dnl test for building Documentation |