From 09790f8f538b0fa50e8802a2391fb607806bdb3d Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Wed, 16 Apr 2003 11:59:49 +0000 Subject: [PATCH] - allow libtool to be a symlink. Discussed with Sascha --- build/buildcheck.sh | 4 ++-- 1 file 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 | # +----------------------------------------------------------------------+ # -# $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." -- 2.50.1