qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] configure


From: Jeff Chua
Subject: [Qemu-devel] [PATCH] configure
Date: Tue, 8 May 2007 23:43:44 +0800 (SGT)



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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]