build-sys: check and bail out for explicitly detected missing yacc/bison.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Wed, 3 Sep 2014 08:09:25 +0000 (11:09 +0300)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Wed, 3 Sep 2014 08:09:25 +0000 (11:09 +0300)
configure.ac

index 305508f..243c9df 100644 (file)
@@ -60,6 +60,9 @@ esac
 
 AC_MSG_CHECKING([for bison vs. yacc])
 case $YACC in
+    *missing\ *)
+        AC_MSG_ERROR([looks like you're missing bison])
+        ;;
     *bison*)
         AC_MSG_RESULT([ok, looks like we have bison])
         ;;