]> granicus.if.org Git - php/commitdiff
silence the warning when glibtool is not found..
authorfoobar <sniper@php.net>
Wed, 26 Jun 2002 18:42:50 +0000 (18:42 +0000)
committerfoobar <sniper@php.net>
Wed, 26 Jun 2002 18:42:50 +0000 (18:42 +0000)
build/buildcheck.sh

index 1165ee1b5f9aaf5bf079aa940ed37d27f46e5e74..b7f197e6b3bcdc394fee2342fe77c5f07549cd37 100755 (executable)
@@ -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