configure: Fix wrong stderr redirection
PATCH 1/1 configure: Fix wrong stderr redirection
Signed-off-by Stefan Weil <[email protected]>
--- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
configure +2 -2
@@ -1091,8 +1091,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 :
Signature · 1 line
1.6.6.1
Quoted 1 line · Stefan Weil
Signed-off-by Stefan Weil <[email protected]>
Ouch. good catch.
Acked-by Juan Quintela <[email protected]>
Quoted 19 lines
--- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)configure +2
-2@@ -1091,8 +1091,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 :
Anthony Liguori
AppliedQuoted 2 lines · Stefan Weil
Signed-off-by Stefan Weil<[email protected]>
Applied. Thanks.
Regards,
Anthony Liguori
Quoted 20 lines
--- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)configure +2
-2@@ -1091,8 +1091,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 :