eliot-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Eliot-dev] eliot configure.in


From: eliot-dev
Subject: [Eliot-dev] eliot configure.in
Date: Sun, 17 Sep 2006 15:20:50 +0000

CVSROOT:        /cvsroot/eliot
Module name:    eliot
Changes by:     Olivier Teulière <ipkiss>      06/09/17 15:20:50

Modified files:
        .              : configure.in 

Log message:
        Fixed detection of flex and bison

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/configure.in?cvsroot=eliot&r1=1.18&r2=1.19

Patches:
Index: configure.in
===================================================================
RCS file: /cvsroot/eliot/eliot/configure.in,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- configure.in        16 Apr 2006 11:26:04 -0000      1.18
+++ configure.in        17 Sep 2006 15:20:50 -0000      1.19
@@ -19,7 +19,13 @@
 AC_PROG_RANLIB
 
 AC_PROG_YACC
+if test "$YACC" = yacc; then
+    AC_MSG_ERROR([Could not find the 'bison' program on your system])
+fi
 AM_PROG_LEX
+if test "$LEX" != flex; then
+    AC_MSG_ERROR([Could not find the 'flex' program on your system])
+fi
 
 dnl --------------------------------------------------------------
 dnl Checks for compilation flags
@@ -52,8 +58,6 @@
 
 dnl Regexp / Listdic / Compdic build enable
 AC_ARG_ENABLE([dictools],AC_HELP_STRING([--enable-dictools],[build independant 
dictionary tools (default enabled)]))
-AM_PROG_LEX
-AC_PROG_YACC
 AM_CONDITIONAL([BUILD_DICTOOLS], [test "${enable_dictools}" != "no"])
 
 dnl --------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]