diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-09-04 08:53:28 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-09-04 08:53:28 +0000 |
commit | 1e9f5845ab809647d0621f2a2eed15d70189c5aa (patch) | |
tree | 754dbd4d6ed31e3f0d0dcc23e514a3052b294a01 /buildconf | |
parent | c41dfc2501455d7185e1fd56f483ae62b0d7c7c5 (diff) |
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...
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |