changeset 30221:47f48219b81f

Only print "using sdl-config" if we actually used it for SDL detection.
author reimar
date Sun, 10 Jan 2010 16:00:07 +0000
parents 057c8193f4d3
children 4588d468fa98
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jan 10 15:37:14 2010 +0000
+++ b/configure	Sun Jan 10 16:00:07 2010 +0000
@@ -5257,6 +5257,7 @@
     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 @@
   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"