[anjuta] build: Fix flex and bison check in configure script



commit a9bdda6084b6d3ffffbf47d9762138290ab36de3
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Mon May 2 22:57:41 2011 +0200

    build: Fix flex and bison check in configure script

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0b8d7a8..6e3d2ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,11 +72,11 @@ dnl Check for C Compiler
 AC_PROG_CC
 AC_PROG_CPP
 AC_PROG_LEX
-if [["$LEX" != "flex"]]; then
+if test "$LEX" != "flex"; then
 	AC_MSG_ERROR(flex is required)
 fi
 AC_PROG_YACC
-if [["$YACC" != "bison"]]; then
+if test "$YACC" != "bison -y"; then
 	AC_MSG_ERROR(bison is required)
 fi
 AC_LANG([C])



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