From 972c40c819bb1e6ea8c78eb2e067f014713adf86 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Wed, 23 Mar 2011 23:00:32 -0400 Subject: fail if no lex program is found (i think) --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3