summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-03-23 23:00:32 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2011-03-23 23:00:32 -0400
commit972c40c819bb1e6ea8c78eb2e067f014713adf86 (patch)
tree5865c70e76333333ce4fcff2e2f4f20518c4839e /configure.ac
parente03a6c2b2e3cc21d75904300d34249cd1e2e032b (diff)
fail if no lex program is found (i think)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
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