vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Tue Nov 28 
20:14:49 2017 +0200| [105b13c813a864b51f409617e415a2b2fe747342] | committer: 
Rémi Denis-Courmont

bootstrap: warn if flex or bison are missing

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=105b13c813a864b51f409617e415a2b2fe747342
---

 bootstrap | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/bootstrap b/bootstrap
index f251f9ebd9..e701f519d1 100755
--- a/bootstrap
+++ b/bootstrap
@@ -50,6 +50,25 @@ Otherwise, you will not be able to build a source tarball.
 EOF
 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
 ###

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to