diff options
author | Yang Tse <yangsita@gmail.com> | 2009-06-06 13:22:15 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-06-06 13:22:15 +0000 |
commit | bdfb3ef11cb1bad7cf9655bf536ac8769384bcbe (patch) | |
tree | 498ceaa87e7b39404d234cdf8913a30567c623ea /buildconf | |
parent | 8d581f7fe404eaad2defdeeeae456eb8463bbc56 (diff) | |
download | curl-bdfb3ef11cb1bad7cf9655bf536ac8769384bcbe.tar.gz |
Adjusted libtool version parsing due to libtool --version now also
reporting package name in parentheses which confused this script.
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |