OSDN Git Service

Suppress warning messages from "which".
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 9 May 2007 13:55:03 +0000 (13:55 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 9 May 2007 13:55:03 +0000 (13:55 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2795 c046a42c-6fe2-441c-8c8c-71466251a162

configure

index 187ac35..245b205 100755 (executable)
--- a/configure
+++ b/configure
@@ -606,7 +606,8 @@ EOF
 fi
 
 # Check if tools are available to build documentation.
-if [ -x "`which texi2html`" ] && [ -x "`which pod2man`" ]; then
+if [ -x "`which texi2html 2>/dev/null`" ] && \
+   [ -x "`which pod2man 2>/dev/null`" ]; then
   build_docs="yes"
 fi