fix libtool version checking for 1.4e thanks to neobird

This commit is contained in:
Bill Currie 2002-11-28 20:19:28 +00:00
parent 034af573c0
commit 2d450701ae
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ if test -n "$lt" ; then
if test -x "$lt" ; then
LTIZE_VER=`libtoolize --version | head -1 | sed 's/^[^0-9]*//'`
LTIZE_VER_MAJOR=`echo $LTIZE_VER | cut -f1 -d'.'`
LTIZE_VER_MINOR=`echo $LTIZE_VER | cut -f2 -d'.'`
LTIZE_VER_MINOR=`echo $LTIZE_VER | cut -f2 -d'.' | sed -e 's/[^0-9]//g'`
if test "$LTIZE_VER_MAJOR" -lt "1"; then
echo "Libtool 1.4 or greater needed to build configure."