From: Pasi Kallinen Date: Fri, 23 Oct 2009 07:16:29 +0000 (+0000) Subject: Make configure accept both lex _and_ flex. X-Git-Tag: v1.6.1-roc-dev~195 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=482382c585aa7e12ef55d5a5c3260f8f8bdb5c1d;p=dgamelaunch Make configure accept both lex _and_ flex. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@514 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- diff --git a/TODO b/TODO index b8c703d..e812095 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,4 @@ +-whenever config file has a dir, check that it ends with "/" -in domailuser(), we need find_curr_player_game(username) -for menu definitions, allow "default" commands (when user presses a key not defined in other commands): diff --git a/configure.ac b/configure.ac index 0358165..421add2 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ AC_PROG_CC(cc gcc) AC_STDC_HEADERS AC_PROG_LEX -if test "x$LEX" != xflex; then +if test -z "$LEX"; then AC_MSG_ERROR([lex or flex not found.]) fi