From: Daniel Stenberg Date: Mon, 4 Sep 2006 08:53:28 +0000 (+0000) Subject: I fell over a new libtool that starts with a newline so we need to fetch X-Git-Tag: curl-7_15_6-prepipeline~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e9f5845ab809647d0621f2a2eed15d70189c5aa;p=thirdparty%2Fcurl.git I fell over a new libtool that starts with a newline so we need to fetch the two first lines to get the version string. The good news is that older libtools have an empty line after the first so I think this works fine all over... --- diff --git a/buildconf b/buildconf index ec818bcd14..c97995144a 100755 --- a/buildconf +++ b/buildconf @@ -140,7 +140,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 2|sed -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"