Updated to remove stdio redirect option
authorSam Lantinga <slouken@libsdl.org>
Wed, 16 Feb 2011 14:35:38 -0800
changeset 5323ed319722cf1c
parent 5322 e836427b88f5
child 5324 cc606b34bd97
Updated to remove stdio redirect option
configure
     1.1 --- a/configure	Wed Feb 16 13:02:37 2011 -0800
     1.2 +++ b/configure	Wed Feb 16 14:35:38 2011 -0800
     1.3 @@ -1566,7 +1566,6 @@
     1.4    --enable-pthreads       use POSIX threads for multi-threading
     1.5                            [default=yes]
     1.6    --enable-pthread-sem    use pthread semaphores [default=yes]
     1.7 -  --enable-stdio-redirect Redirect STDIO to files on Windows [default=yes]
     1.8    --enable-directx        use DirectX for Windows audio/video [default=yes]
     1.9    --enable-sdl-dlopen     use dlopen for shared object loading [default=yes]
    1.10    --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
    1.11 @@ -3769,13 +3768,13 @@
    1.12  else
    1.13    lt_cv_nm_interface="BSD nm"
    1.14    echo "int some_variable = 0;" > conftest.$ac_ext
    1.15 -  (eval echo "\"\$as_me:3772: $ac_compile\"" >&5)
    1.16 +  (eval echo "\"\$as_me:3771: $ac_compile\"" >&5)
    1.17    (eval "$ac_compile" 2>conftest.err)
    1.18    cat conftest.err >&5
    1.19 -  (eval echo "\"\$as_me:3775: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
    1.20 +  (eval echo "\"\$as_me:3774: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
    1.21    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
    1.22    cat conftest.err >&5
    1.23 -  (eval echo "\"\$as_me:3778: output\"" >&5)
    1.24 +  (eval echo "\"\$as_me:3777: output\"" >&5)
    1.25    cat conftest.out >&5
    1.26    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
    1.27      lt_cv_nm_interface="MS dumpbin"
    1.28 @@ -5002,7 +5001,7 @@
    1.29    ;;
    1.30  *-*-irix6*)
    1.31    # Find out which ABI we are using.
    1.32 -  echo '#line 5005 "configure"' > conftest.$ac_ext
    1.33 +  echo '#line 5004 "configure"' > conftest.$ac_ext
    1.34    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1.35    (eval $ac_compile) 2>&5
    1.36    ac_status=$?
    1.37 @@ -7163,11 +7162,11 @@
    1.38     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    1.39     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1.40     -e 's:$: $lt_compiler_flag:'`
    1.41 -   (eval echo "\"\$as_me:7166: $lt_compile\"" >&5)
    1.42 +   (eval echo "\"\$as_me:7165: $lt_compile\"" >&5)
    1.43     (eval "$lt_compile" 2>conftest.err)
    1.44     ac_status=$?
    1.45     cat conftest.err >&5
    1.46 -   echo "$as_me:7170: \$? = $ac_status" >&5
    1.47 +   echo "$as_me:7169: \$? = $ac_status" >&5
    1.48     if (exit $ac_status) && test -s "$ac_outfile"; then
    1.49       # The compiler can only warn and ignore the option if not recognized
    1.50       # So say no if there are warnings other than the usual output.
    1.51 @@ -7502,11 +7501,11 @@
    1.52     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    1.53     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1.54     -e 's:$: $lt_compiler_flag:'`
    1.55 -   (eval echo "\"\$as_me:7505: $lt_compile\"" >&5)
    1.56 +   (eval echo "\"\$as_me:7504: $lt_compile\"" >&5)
    1.57     (eval "$lt_compile" 2>conftest.err)
    1.58     ac_status=$?
    1.59     cat conftest.err >&5
    1.60 -   echo "$as_me:7509: \$? = $ac_status" >&5
    1.61 +   echo "$as_me:7508: \$? = $ac_status" >&5
    1.62     if (exit $ac_status) && test -s "$ac_outfile"; then
    1.63       # The compiler can only warn and ignore the option if not recognized
    1.64       # So say no if there are warnings other than the usual output.
    1.65 @@ -7607,11 +7606,11 @@
    1.66     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    1.67     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1.68     -e 's:$: $lt_compiler_flag:'`
    1.69 -   (eval echo "\"\$as_me:7610: $lt_compile\"" >&5)
    1.70 +   (eval echo "\"\$as_me:7609: $lt_compile\"" >&5)
    1.71     (eval "$lt_compile" 2>out/conftest.err)
    1.72     ac_status=$?
    1.73     cat out/conftest.err >&5
    1.74 -   echo "$as_me:7614: \$? = $ac_status" >&5
    1.75 +   echo "$as_me:7613: \$? = $ac_status" >&5
    1.76     if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1.77     then
    1.78       # The compiler can only warn and ignore the option if not recognized
    1.79 @@ -7662,11 +7661,11 @@
    1.80     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    1.81     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1.82     -e 's:$: $lt_compiler_flag:'`
    1.83 -   (eval echo "\"\$as_me:7665: $lt_compile\"" >&5)
    1.84 +   (eval echo "\"\$as_me:7664: $lt_compile\"" >&5)
    1.85     (eval "$lt_compile" 2>out/conftest.err)
    1.86     ac_status=$?
    1.87     cat out/conftest.err >&5
    1.88 -   echo "$as_me:7669: \$? = $ac_status" >&5
    1.89 +   echo "$as_me:7668: \$? = $ac_status" >&5
    1.90     if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1.91     then
    1.92       # The compiler can only warn and ignore the option if not recognized
    1.93 @@ -10420,7 +10419,7 @@
    1.94    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    1.95    lt_status=$lt_dlunknown
    1.96    cat > conftest.$ac_ext <<_LT_EOF
    1.97 -#line 10423 "configure"
    1.98 +#line 10422 "configure"
    1.99  #include "confdefs.h"
   1.100  
   1.101  #if HAVE_DLFCN_H
   1.102 @@ -10516,7 +10515,7 @@
   1.103    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   1.104    lt_status=$lt_dlunknown
   1.105    cat > conftest.$ac_ext <<_LT_EOF
   1.106 -#line 10519 "configure"
   1.107 +#line 10518 "configure"
   1.108  #include "confdefs.h"
   1.109  
   1.110  #if HAVE_DLFCN_H
   1.111 @@ -14198,11 +14197,11 @@
   1.112     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   1.113     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   1.114     -e 's:$: $lt_compiler_flag:'`
   1.115 -   (eval echo "\"\$as_me:14201: $lt_compile\"" >&5)
   1.116 +   (eval echo "\"\$as_me:14200: $lt_compile\"" >&5)
   1.117     (eval "$lt_compile" 2>conftest.err)
   1.118     ac_status=$?
   1.119     cat conftest.err >&5
   1.120 -   echo "$as_me:14205: \$? = $ac_status" >&5
   1.121 +   echo "$as_me:14204: \$? = $ac_status" >&5
   1.122     if (exit $ac_status) && test -s "$ac_outfile"; then
   1.123       # The compiler can only warn and ignore the option if not recognized
   1.124       # So say no if there are warnings other than the usual output.
   1.125 @@ -14297,11 +14296,11 @@
   1.126     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   1.127     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   1.128     -e 's:$: $lt_compiler_flag:'`
   1.129 -   (eval echo "\"\$as_me:14300: $lt_compile\"" >&5)
   1.130 +   (eval echo "\"\$as_me:14299: $lt_compile\"" >&5)
   1.131     (eval "$lt_compile" 2>out/conftest.err)
   1.132     ac_status=$?
   1.133     cat out/conftest.err >&5
   1.134 -   echo "$as_me:14304: \$? = $ac_status" >&5
   1.135 +   echo "$as_me:14303: \$? = $ac_status" >&5
   1.136     if (exit $ac_status) && test -s out/conftest2.$ac_objext
   1.137     then
   1.138       # The compiler can only warn and ignore the option if not recognized
   1.139 @@ -14349,11 +14348,11 @@
   1.140     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   1.141     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   1.142     -e 's:$: $lt_compiler_flag:'`
   1.143 -   (eval echo "\"\$as_me:14352: $lt_compile\"" >&5)
   1.144 +   (eval echo "\"\$as_me:14351: $lt_compile\"" >&5)
   1.145     (eval "$lt_compile" 2>out/conftest.err)
   1.146     ac_status=$?
   1.147     cat out/conftest.err >&5
   1.148 -   echo "$as_me:14356: \$? = $ac_status" >&5
   1.149 +   echo "$as_me:14355: \$? = $ac_status" >&5
   1.150     if (exit $ac_status) && test -s out/conftest2.$ac_objext
   1.151     then
   1.152       # The compiler can only warn and ignore the option if not recognized
   1.153 @@ -25672,17 +25671,6 @@
   1.154  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1.155      { echo "$as_me:$LINENO: result: $have_wince" >&5
   1.156  echo "${ECHO_T}$have_wince" >&6; }
   1.157 -
   1.158 -        # Check whether --enable-stdio-redirect was given.
   1.159 -if test "${enable_stdio_redirect+set}" = set; then
   1.160 -  enableval=$enable_stdio_redirect;
   1.161 -else
   1.162 -  enable_stdio_redirect=yes
   1.163 -fi
   1.164 -
   1.165 -    if test x$enable_stdio_redirect != xyes; then
   1.166 -        EXTRA_CFLAGS="$EXTRA_CFLAGS -DNO_STDIO_REDIRECT"
   1.167 -    fi
   1.168  }
   1.169  
   1.170  CheckDIRECTX()