From bdfb3ef11cb1bad7cf9655bf536ac8769384bcbe Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 6 Jun 2009 13:22:15 +0000 Subject: Adjusted libtool version parsing due to libtool --version now also reporting package name in parentheses which confused this script. --- buildconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildconf') diff --git a/buildconf b/buildconf index d19717863..c05ee99fc 100755 --- a/buildconf +++ b/buildconf @@ -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" -- cgit v1.2.3