mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Adjusted libtool version parsing due to libtool --version now also
reporting package name in parentheses which confused this script.
This commit is contained in:
parent
8d581f7fe4
commit
bdfb3ef11c
@ -191,7 +191,7 @@ else
|
||||
libtoolize=`findtool $LIBTOOLIZE`
|
||||
fi
|
||||
|
||||
lt_pversion=`$libtool --version 2>/dev/null|head -n 1|sed -e 's/^[^0-9]*//g' -e 's/[- ].*//'`
|
||||
lt_pversion=`$libtool --version 2>/dev/null|head -n 1|sed -e 's/(.*)//' -e 's/^[^0-9]*//g' -e 's/[- ].*//'`
|
||||
if test -z "$lt_pversion"; then
|
||||
echo "buildconf: libtool not found."
|
||||
echo " You need libtool version $LIBTOOL_WANTED_VERSION or newer installed"
|
||||
|
Loading…
Reference in New Issue
Block a user