updated libtool check to handle things like '1.4b'

Original commit message from CVS:
updated libtool check to handle things like '1.4b'
This commit is contained in:
Erik Walthinsen 2001-09-05 08:53:00 +00:00
parent b368687c6c
commit a6e046ee3f

View file

@ -119,7 +119,7 @@ fi
DIE=1 DIE=1
} }
libtool_version=`libtool --version | sed 's/^.* \([0-9\.]*\) .*$/\1/'` libtool_version=`libtool --version | sed 's/^.* \([0-9a-z\.]*\) .*$/\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`