aboutsummaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf2
1 files changed, 1 insertions, 1 deletions
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"