[anjuta] build: Fix flex and bison check in configure script
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] build: Fix flex and bison check in configure script
- Date: Mon, 2 May 2011 21:09:23 +0000 (UTC)
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]