diff options
author | Jan Lehnardt <jan@php.net> | 2003-04-16 11:59:49 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@php.net> | 2003-04-16 11:59:49 +0000 |
commit | 09790f8f538b0fa50e8802a2391fb607806bdb3d (patch) | |
tree | 9316255d7b961c471b76b8a5c45f0b78c540c464 /build | |
parent | cd403e3b51376239140c8c3a59f43ec937faf6a7 (diff) | |
download | php-git-09790f8f538b0fa50e8802a2391fb607806bdb3d.tar.gz |
- allow libtool to be a symlink. Discussed with Sascha
Diffstat (limited to 'build')
-rwxr-xr-x | build/buildcheck.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/buildcheck.sh b/build/buildcheck.sh index 545284cc28..4776f1e177 100755 --- a/build/buildcheck.sh +++ b/build/buildcheck.sh @@ -16,7 +16,7 @@ # | Sascha Schumann <sascha@schumann.cx> | # +----------------------------------------------------------------------+ # -# $Id: buildcheck.sh,v 1.24 2003-03-18 12:05:59 ssb Exp $ +# $Id: buildcheck.sh,v 1.25 2003-04-16 11:59:49 jan Exp $ # echo "buildconf: checking installation..." @@ -73,7 +73,7 @@ fi # libtool 1.4.3 or newer # Prefer glibtool over libtool for Mac OS X compatibility libtool=`./build/shtool path glibtool 2> /dev/null` -if test ! -f "$libtool"; then libtool=`./build/shtool path libtool`; fi +if test ! -r "$libtool"; then libtool=`./build/shtool path libtool`; fi lt_pversion=`$libtool --version 2>/dev/null|sed -n -e 's/^[^0-9]*//' -e 1's/[- ].*//p'` if test "$lt_pversion" = ""; then echo "buildconf: libtool not found." |