]> granicus.if.org Git - curl/commitdiff
remove the ofending regexp
authorYang Tse <yangsita@gmail.com>
Sat, 6 Jun 2009 17:22:00 +0000 (17:22 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 6 Jun 2009 17:22:00 +0000 (17:22 +0000)
buildconf

index d738839be1dd3a5008fc9a316d93e363914711ed..d19717863c8b859ccbfc2aa52d51fdde93e16ad8 100755 (executable)
--- 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/[(].*[)]//' -e 's/^[^0-9]*//g' -e 's/[- ].*//'`
+lt_pversion=`$libtool --version 2>/dev/null|head -n 1|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"