diff --git a/configure b/configure index e8c8257f6af497b12dc1d36ad3efcdc2ba9263ea..187ac35a1d8a8c57552a23b5184f611575085a8c 100755 --- 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