aboutsummaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildconf b/buildconf
index 78f5d9533..2e563808e 100755
--- a/buildconf
+++ b/buildconf
@@ -229,9 +229,9 @@ fi
echo "buildconf: libtool version $lt_version (ok)"
dbg1=`$libtool --version 2>/dev/null|head -n 1`
-dbg2=`$libtool --version 2>/dev/null|head -n 1|sed -e "s/(.*)//"`
-dbg3=`$libtool --version 2>/dev/null|head -n 1|sed -e "s/(.*)//" -e "s/^[^0-9]*//g"`
-dbg4=`$libtool --version 2>/dev/null|head -n 1|sed -e "s/(.*)//" -e "s/^[^0-9]*//g" -e "s/[- ].*//"`
+dbg2=`$libtool --version 2>/dev/null|head -n 1|sed -e "s/([^)]*)//g"`
+dbg3=`$libtool --version 2>/dev/null|head -n 1|sed -e "s/([^)]*)//g" -e "s/^[^0-9]*//g"`
+dbg4=`$libtool --version 2>/dev/null|head -n 1|sed -e "s/([^)]*)//g" -e "s/^[^0-9]*//g" -e "s/[- ].*//"`
dbg5=`echo $dbg4|sed -e "s/\([a-z]*\)$//"`
old_IFS=$IFS; IFS='.'; set $dbg5; IFS=$old_IFS
dbg6=$1