diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2011-03-23 23:00:32 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2011-03-23 23:00:32 -0400 |
commit | c8ed8d2efc59212a20fbffad3493f3193b68b20f (patch) | |
tree | ba17b384d451e3b03626d7bb6293361bbd88db29 | |
parent | df5706c58b5b42b9b302c2ad068f623374b51a8e (diff) |
fail if no lex program is found (i think)
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 56f08147..b323576f 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,9 @@ AM_INIT_AUTOMAKE(cdec,0.1) AC_CONFIG_HEADERS(config.h) AC_PROG_LIBTOOL AC_PROG_LEX +case $LEX in +:) AC_MSG_ERROR([No lex (Flex, lex, etc.) program found]);; +esac AC_PROG_CC AC_PROG_CXX AC_LANG_CPLUSPLUS |