]> granicus.if.org Git - php/commitdiff
- allow libtool to be a symlink. Discussed with Sascha
authorJan Lehnardt <jan@php.net>
Wed, 16 Apr 2003 11:59:49 +0000 (11:59 +0000)
committerJan Lehnardt <jan@php.net>
Wed, 16 Apr 2003 11:59:49 +0000 (11:59 +0000)
build/buildcheck.sh

index 545284cc288c6508dec90b23b2134946e32ab121..4776f1e1775ab2f100dae4e0f60006b57070d712 100755 (executable)
@@ -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."