summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-06-26 18:42:50 +0000
committerfoobar <sniper@php.net>2002-06-26 18:42:50 +0000
commit049042851a1a9d41db16de4a64d033314c107e1d (patch)
tree1f6101e7f5af06853dd555fe64f00b9c92f4807b
parentb5c04085947389c9bd240bd412251db7793870cf (diff)
downloadphp-git-049042851a1a9d41db16de4a64d033314c107e1d.tar.gz
silence the warning when glibtool is not found..
-rwxr-xr-xbuild/buildcheck.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/buildcheck.sh b/build/buildcheck.sh
index 1165ee1b5f..b7f197e6b3 100755
--- a/build/buildcheck.sh
+++ b/build/buildcheck.sh
@@ -16,7 +16,7 @@
# | Sascha Schumann <sascha@schumann.cx> |
# +----------------------------------------------------------------------+
#
-# $Id: buildcheck.sh,v 1.17 2002-06-26 08:39:39 sas Exp $
+# $Id: buildcheck.sh,v 1.18 2002-06-26 18:42:50 sniper Exp $
#
echo "buildconf: checking installation..."
@@ -61,7 +61,7 @@ fi
# libtool 1.4 or newer
# Prefer glibtool over libtool for Mac OS X compatibility
-libtool=`which glibtool`
+libtool=`which glibtool 2> /dev/null`
if test ! -f "$libtool"; then libtool=`which libtool`; fi
lt_pversion=`$libtool --version 2>/dev/null|sed -n -e 's/^[^0-9]*//' -e 1's/[- ].*//p'`
if test "$lt_pversion" = ""; then