Only print "using sdl-config" if we actually used it for SDL detection.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30263 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar committed 2010-01-10 16:00:07 +00:00
1 parent cbdb16328c
commit fff96519ee
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -5257,6 +5257,7 @@ EOF
fi
done
if test "$_sdl" = no && "$_sdlconfig" --version >>"$TMPLOG" 2>&1 ; then
_res_comment="using $_sdlconfig"
if cygwin ; then
_inc_tmp="$($_sdlconfig --cflags | cut -d " " -f 1,5,6 | sed s/no-cygwin/cygwin/)"
_ld_tmp="$($_sdlconfig --libs | cut -d " " -f 1,4,6 | sed s/no-cygwin/cygwin/)"
@@ -5286,7 +5287,6 @@ if test "$_sdl" = yes ; then
libs_mplayer="$libs_mplayer $_ld_tmp"
_vomodules="sdl $_vomodules"
_aomodules="sdl $_aomodules"
_res_comment="using $_sdlconfig"
else
def_sdl='#undef CONFIG_SDL'
_novomodules="sdl $_novomodules"