Avi,

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



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to