# | 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..."
# 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."