summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3ed41ee..f394de6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,13 @@ AS_IF([test "x$CFLAGS" = "x"], [AC_SUBST([CFLAGS], [""])])
AC_PROG_CC
AC_PROG_LEX
+if test -z "$($LEX --version)"; then
+ AC_MSG_ERROR([[Please install flex/lex]])
+fi
AC_PROG_YACC
+if test -z "$($YACC --version)"; then
+ AC_MSG_ERROR([[Please install bison/yacc]])
+fi
AC_PROG_INSTALL
AM_INIT_AUTOMAKE
OpenPOWER on IntegriCloud