All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] gfs2-utils: Fail to configure if flex is not found
@ 2014-02-28 10:35 Andrew Price
  0 siblings, 0 replies; only message in thread
From: Andrew Price @ 2014-02-28 10:35 UTC (permalink / raw)
  To: cluster-devel.redhat.com

We require flex to build so the configure script should not succeed if
flex is not installed. We use flex-specific features so check for flex
specifically.

Signed-off-by: Andrew Price <anprice@redhat.com>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 80310be..b93eec9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,7 @@ AC_PROG_LN_S
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
 AC_PROG_LEX
+test "$LEX" != "flex" && AC_MSG_ERROR([flex not found])
 AC_CHECK_PROG([YACC], [bison], [bison -y])
 test x"$YACC" = x && AC_MSG_ERROR([bison not found])
 
-- 
1.8.5.3



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-28 10:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-28 10:35 [Cluster-devel] [PATCH] gfs2-utils: Fail to configure if flex is not found Andrew Price

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.