summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-03 20:29:20 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-03 20:29:20 +0000
commit4bf6dad4cfc5de14ea0993ff5c7c3c6df251f17f (patch)
tree23fce7d0a07244baefa47745a683ce3d1ef28e91 /configure
parent4bdb6dbc366b3a1ba43f098adfdf9577e2cbeddd (diff)
downloadmpv-4bf6dad4cfc5de14ea0993ff5c7c3c6df251f17f.tar.bz2
mpv-4bf6dad4cfc5de14ea0993ff5c7c3c6df251f17f.tar.xz
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)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5955 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index 64e499ec96..30857dfdc7 100755
--- a/configure
+++ b/configure
@@ -2341,9 +2341,9 @@ fi
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 @@ fi
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