CVS: main configure,1.457,1.458
Update of /cvsroot/mplayer/main In directory mail:/var/tmp.root/cvs-serv20306 Modified Files: configure Log Message: More verbose error reporting to configure.log for SDL and fix a long pustanding bug, with type mismatch in test-compile-code (affected eg. cygwin, too) Index: configure =================================================================== RCS file: /cvsroot/mplayer/main/configure,v retrieving revision 1.457 retrieving revision 1.458 diff -u -r1.457 -r1.458 --- configure 3 May 2002 19:00:54 -0000 1.457 +++ configure 3 May 2002 20:29:20 -0000 1.458 @@ -2341,9 +2341,9 @@ echocheck "SDL" if test -z "$_sdlconfig" ; then - if ( sdl-config --version ) >/dev/null 2>&1 ; then + if ( sdl-config --version ) >>"$TMPLOG" 2>&1 ; then _sdlconfig="sdl-config" - elif ( sdl11-config --version ) >/dev/null 2>&1 ; then + elif ( sdl11-config --version ) >>"$TMPLOG" 2>&1 ; then _sdlconfig="sdl11-config" else _sdlconfig=false @@ -2352,11 +2352,11 @@ if test "$_sdl" = auto || test "$_sdl" = yes ; then cat > $TMPC << EOF #include <SDL.h> -int main(void) { return 0; } +int main(int argc, char *argv[]) { return 0; } EOF _sdl=no - if "$_sdlconfig" --version >/dev/null 2>&1 ; then - if cc_check `$_sdlconfig --cflags` `$_sdlconfig --libs` ; then + if "$_sdlconfig" --version >>"$TMPLOG" 2>&1 ; then + if cc_check `$_sdlconfig --cflags` `$_sdlconfig --libs` >>"$TMPLOG" 2>&1 ; then _sdlversion=`$_sdlconfig --version | sed 's/[^0-9]//g'` if test "$_sdlversion" -gt 116 ; then if test "$_sdlversion" -lt 121 ; then
participants (1)
-
Atmosfear