qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] configure
@ 2007-05-08 15:43 Jeff Chua
  2007-05-08 21:00 ` Thiemo Seufer
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff Chua @ 2007-05-08 15:43 UTC (permalink / raw)
  To: qemu-devel



Avi had suggest I post this patch here so that it can be included in qemu 
instead of kvm.


Here's a little patch to silent ...
   	- sdl-config when SDK is compiled without static library
   	- texi2html when not found

Thanks,
Jeff


--- kvm/qemu/configure.org	2007-05-07 20:36:59 +0800
+++ kvm/qemu/configure	2007-05-07 20:40:58 +0800
@@ -523,8 +523,8 @@
    # static link with sdl ?
    if test "$sdl" = "yes" ; then
    aa="no"
-`$sdl_config --static-libs | grep \\\-laa > /dev/null` && aa="yes"
-sdl_static_libs=`$sdl_config --static-libs`
+`$sdl_config --static-libs 2>/dev/null | grep \\\-laa > /dev/null` && aa="yes"
+sdl_static_libs=`$sdl_config --static-libs 2>/dev/null`
    if [ "$aa" = "yes" ] ; then
      sdl_static_libs="$sdl_static_libs `aalib-config --static-libs`"
    fi
@@ -567,7 +567,8 @@
    fi

    # Check if tools are available to build documentation.
-if [ -x "`which texi2html`" ] && [ -x "`which pod2man`" ]; then
+if [ -x "`which texi2html 2>/dev/null`" \
+	-a -x "`which pod2man 2>/dev/null`" ]; then
      build_docs="yes"
    fi

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-05-09 14:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-08 15:43 [Qemu-devel] [PATCH] configure Jeff Chua
2007-05-08 21:00 ` Thiemo Seufer
2007-05-09  0:18   ` Jeff Chua
2007-05-09  0:41     ` Thiemo Seufer
2007-05-09  3:22       ` Jeff Chua
2007-05-09 10:02       ` [Qemu-devel] configure Jernej Simončič
2007-05-09 13:57         ` Thiemo Seufer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).