Commit 105b13c8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

bootstrap: warn if flex or bison are missing

parent 3167e69a
...@@ -50,6 +50,25 @@ Otherwise, you will not be able to build a source tarball. ...@@ -50,6 +50,25 @@ Otherwise, you will not be able to build a source tarball.
EOF EOF
fi fi
# Check for flex and bison
if ! flex --version >/dev/null 2>&1; then
cat << EOF
NOTE: flex appears to be missing. Please install it.
Otherwise, you might not be able to build properly.
==========================================================================
EOF
fi
if ! bison --version >/dev/null 2>&1; then
cat << EOF
NOTE: bison appears to be missing. Please install it.
Otherwise, you might not be able to build properly.
==========================================================================
EOF
fi
### ###
### classic bootstrap stuff ### classic bootstrap stuff
### ###
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment