From: Pasi Kallinen Date: Wed, 21 Oct 2009 15:03:56 +0000 (+0000) Subject: Abort configure if lex or flex cannot be found. X-Git-Tag: v1.6.1-roc-dev~196 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=2d92746975e9917f3f9098c415ede47878cc861f;p=dgamelaunch Abort configure if lex or flex cannot be found. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@513 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- diff --git a/configure.ac b/configure.ac index b69abe1..0358165 100644 --- a/configure.ac +++ b/configure.ac @@ -9,7 +9,11 @@ AC_CONFIG_HEADER(config.h) AC_PROG_CC(cc gcc) AC_STDC_HEADERS + AC_PROG_LEX +if test "x$LEX" != xflex; then + AC_MSG_ERROR([lex or flex not found.]) +fi LIBS="$LIBS $LEXLIB"