]> git.proxmox.com Git - qemu.git/commitdiff
configure: Fix wrong stderr redirection
authorStefan Weil <weil@mail.berlios.de>
Mon, 1 Mar 2010 21:10:46 +0000 (22:10 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 9 Mar 2010 15:03:46 +0000 (09:03 -0600)
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure

index f55baf09f33b95056f26b4fddd99f047c81823e4..799281298406040cdb37fb68618a1ada6d65bca8 100755 (executable)
--- a/configure
+++ b/configure
@@ -1082,8 +1082,8 @@ EOF
     # static link with sdl ? (note: sdl.pc's --static --libs is broken)
     if test "$sdl" = "yes" -a "$static" = "yes" ; then
       if test $? = 0 && echo $sdl_libs | grep -- -laa > /dev/null; then
-         sdl_libs="$sdl_libs `aalib-config --static-libs >2 /dev/null`"
-         sdl_cflags="$sdl_cflags `aalib-config --cflags >2 /dev/null`"
+         sdl_libs="$sdl_libs `aalib-config --static-libs 2>/dev/null`"
+         sdl_cflags="$sdl_cflags `aalib-config --cflags 2>/dev/null`"
       fi
       if compile_prog "$sdl_cflags" "$sdl_libs" ; then
        :