Commit 31acc2f0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

bootstrap: fail hard if flex or bison are missing and needed

parent 407f5719
......@@ -52,21 +52,17 @@ 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
echo "ERROR: flex is not installed." >&2
if ! test -f modules/codec/webvtt/CSSLexer.c; then
exit 1
fi
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
echo "ERROR: GNU bison is not installed." >&2
if ! test -f modules/codec/webvtt/CSSGrammar.c; then
exit 1
fi
fi
###
......
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