diff options
Diffstat (limited to 'build/buildcheck.sh')
-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." |