mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
libtool check fix... copy & paste error msgs code could be improved.
Original commit message from CVS: libtool check fix... copy & paste error msgs code could be improved.
This commit is contained in:
parent
7e57d02e78
commit
ca421d3905
1 changed files with 22 additions and 5 deletions
27
autogen.sh
27
autogen.sh
|
@ -32,11 +32,28 @@ libtool_version=`libtool --version | sed 's/^.* \([0-9\.]*\) .*$/\1/'`
|
||||||
libtool_major=`echo $libtool_version | cut -d. -f1`
|
libtool_major=`echo $libtool_version | cut -d. -f1`
|
||||||
libtool_minor=`echo $libtool_version | cut -d. -f2`
|
libtool_minor=`echo $libtool_version | cut -d. -f2`
|
||||||
libtool_micro=`echo $libtool_version | cut -d. -f3`
|
libtool_micro=`echo $libtool_version | cut -d. -f3`
|
||||||
if [ $libtool_major -lt 1 -o $libtool_minor -lt 3 -o $libtool_micro -lt 5 ];then
|
if [ x$libtool_micro = x ]; then
|
||||||
echo
|
libtool_micro=0
|
||||||
echo "You must have libtool 1.3.5 or greater to compile $package."
|
fi
|
||||||
echo "Get the latest version from ftp://alpha.gnu.org/gnu/libtool/"
|
if [ $libtool_major -le 1 ]; then
|
||||||
DIE=1
|
if [ $libtool_major -lt 1 ]; then
|
||||||
|
echo
|
||||||
|
echo "You must have libtool 1.3.5 or greater to compile $package."
|
||||||
|
echo "Get the latest version from ftp://alpha.gnu.org/gnu/libtool/"
|
||||||
|
DIE=1
|
||||||
|
elif [ $libtool_minor -le 3 ]; then
|
||||||
|
if [ $libtool_minor -lt 3 ]; then
|
||||||
|
echo
|
||||||
|
echo "You must have libtool 1.3.5 or greater to compile $package."
|
||||||
|
echo "Get the latest version from ftp://alpha.gnu.org/gnu/libtool/"
|
||||||
|
DIE=1
|
||||||
|
elif [ $libtool_micro -lt 5 ]; then
|
||||||
|
echo
|
||||||
|
echo "You must have libtool 1.3.5 or greater to compile $package."
|
||||||
|
echo "Get the latest version from ftp://alpha.gnu.org/gnu/libtool/"
|
||||||
|
DIE=1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$DIE" -eq 1; then
|
if test "$DIE" -eq 1; then
|
||||||
|
|
Loading…
Reference in a new issue