OSDN Git Service

Silence sdl-config stderr output, by Jeff Chua.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 8 May 2007 20:57:52 +0000 (20:57 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 8 May 2007 20:57:52 +0000 (20:57 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2787 c046a42c-6fe2-441c-8c8c-71466251a162

configure

index e8c8257..187ac35 100755 (executable)
--- a/configure
+++ b/configure
@@ -562,8 +562,8 @@ fi
 # 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