mirror of
https://github.com/curl/curl.git
synced 2026-07-16 10:27:15 +03:00
attempt to fix regex
This commit is contained in:
parent
bdfb3ef11c
commit
439891cb9f
1 changed files with 3 additions and 1 deletions
|
|
@ -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/[(].*[)]//' -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"
|
||||
|
|
@ -228,6 +228,8 @@ fi
|
|||
|
||||
echo "buildconf: libtool version $lt_version (ok)"
|
||||
|
||||
exit 0
|
||||
|
||||
if test -f "$libtoolize"; then
|
||||
echo "buildconf: libtoolize found"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue