]> skyeroc.xyz Git - dgamelaunch/commitdiff
Abort configure if lex or flex cannot be found.
authorPasi Kallinen <paxed@alt.org>
Wed, 21 Oct 2009 15:03:56 +0000 (15:03 +0000)
committerPasi Kallinen <paxed@alt.org>
Wed, 21 Oct 2009 15:03:56 +0000 (15:03 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@513 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

configure.ac

index b69abe151f3373092b489cf058810a861a0e86f0..0358165c1b343c8d7613aaaaedf6eb090a4dbf20 100644 (file)
@@ -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"