]> git.sesse.net Git - vlc/blobdiff - bootstrap
* src/input/input.c: fixed nasty bug with preparsing where a mutex was used uninitial...
[vlc] / bootstrap
index a3d77196ec7e6a64211b6fac67079150919b1312..6dc6ac62eb15ddd1d517d4acacdaabe8322a22a0 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -6,8 +6,6 @@
 ##
 ##  Authors: Sam Hocevar <sam@zoy.org>
 ##           RĂ©mi Denis-Courmont <rem # videolan # org>
-##
-## Muahaha! no annoying dollar I dee dollar that causes rebuild at commit
 
 if test "$#" != "0"; then
   echo "Usage: $0"
@@ -50,6 +48,20 @@ if test -d extras/contrib/bin; then
   fi
 fi
 
+# Check for autoconf
+rm -f m4/autoconf260.m4
+case "$(autoconf --version|head -1)" in
+  *2.5[012345678]*)
+    echo "Hey, your autoconf is quite old. Update it." >&2
+    exit 1
+    ;;
+
+  *2.59*)
+    echo "Enabling provisional autoconf 2.59 work-around. Update autoconf ASAP."
+    cp -f extras/m4/autoconf260.m4 m4/
+    ;;
+esac
+
 # Check for automake
 amvers="no"
 for v in "-1.9" "19" "-1.8" "18" "-1.7" "17"; do