Commit 4d0e2b16 authored by Sam Hocevar's avatar Sam Hocevar

* ./bootstrap: automake 1.7 is OK to bootstrap vlc.

parent 141414b0
#! /bin/sh #! /bin/sh
## bootstrap file for vlc, the VideoLAN Client ## bootstrap file for vlc, the VideoLAN Client
## $Id: bootstrap,v 1.22 2002/11/04 15:04:44 sam Exp $ ## $Id: bootstrap,v 1.23 2002/11/04 18:27:30 sam Exp $
## ##
## Authors: Samuel Hocevar <sam@zoy.org> ## Authors: Samuel Hocevar <sam@zoy.org>
...@@ -199,28 +199,33 @@ fi ...@@ -199,28 +199,33 @@ fi
# Check for automake # Check for automake
amvers="none" amvers="none"
if automake-1.6 --version >/dev/null 2>&1 if automake-1.7 --version >/dev/null 2>&1
then then
amvers="-1.6" amvers="-1.7"
if expr "`automake-1.6 --version | sed -e '1s/[^0-9]*//' -e q`" "<=" "1.6.1" > /dev/null 2>&1
then AUTOMAKESUCKS=yes
fi
else else
if automake-1.5 --version >/dev/null 2>&1 if automake-1.6 --version >/dev/null 2>&1
then then
amvers="-1.5" amvers="-1.6"
if expr "`automake-1.6 --version | sed -e '1s/[^0-9]*//' -e q`" "<=" "1.6.1" > /dev/null 2>&1
then AUTOMAKESUCKS=yes
fi
else else
if automake --version > /dev/null 2>&1 if automake-1.5 --version >/dev/null 2>&1
then then
amvers=`automake --version | sed -e '1s/[^0-9]*//' -e q` amvers="-1.5"
case $amvers in else
1.6|1.6.0|1.6.1) if automake --version > /dev/null 2>&1
AUTOMAKESUCKS=yes ;; then
esac amvers=`automake --version | sed -e '1s/[^0-9]*//' -e q`
case $amvers in
if expr "$amvers" "<" "1.5" > /dev/null 2>&1 1.6|1.6.0|1.6.1)
then amvers="none" AUTOMAKESUCKS=yes ;;
else amvers="" esac
if expr "$amvers" "<" "1.5" > /dev/null 2>&1
then amvers="none"
else amvers=""
fi
fi fi
fi fi
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