configure
changeset 5604 e2ad06c52c65
parent 5602 a712b965fbb6
child 5876 982dd84fcd83
equal deleted inserted replaced
5603:e1ca92e7f2ff 5604:e2ad06c52c65
  2062 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2062 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2063 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2063 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2064 
  2064 
  2065 
  2065 
  2066 
  2066 
       
  2067 
  2067 orig_CFLAGS="$CFLAGS"
  2068 orig_CFLAGS="$CFLAGS"
  2068 
  2069 
  2069 #
  2070 #
  2070 # Making releases:
  2071 # Making releases:
  2071 # Edit include/SDL/SDL_version.h and change the version, then:
  2072 # Edit include/SDL/SDL_version.h and change the version, then:
  3769 if test "${lt_cv_nm_interface+set}" = set; then
  3770 if test "${lt_cv_nm_interface+set}" = set; then
  3770   echo $ECHO_N "(cached) $ECHO_C" >&6
  3771   echo $ECHO_N "(cached) $ECHO_C" >&6
  3771 else
  3772 else
  3772   lt_cv_nm_interface="BSD nm"
  3773   lt_cv_nm_interface="BSD nm"
  3773   echo "int some_variable = 0;" > conftest.$ac_ext
  3774   echo "int some_variable = 0;" > conftest.$ac_ext
  3774   (eval echo "\"\$as_me:3774: $ac_compile\"" >&5)
  3775   (eval echo "\"\$as_me:3775: $ac_compile\"" >&5)
  3775   (eval "$ac_compile" 2>conftest.err)
  3776   (eval "$ac_compile" 2>conftest.err)
  3776   cat conftest.err >&5
  3777   cat conftest.err >&5
  3777   (eval echo "\"\$as_me:3777: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  3778   (eval echo "\"\$as_me:3778: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  3778   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  3779   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  3779   cat conftest.err >&5
  3780   cat conftest.err >&5
  3780   (eval echo "\"\$as_me:3780: output\"" >&5)
  3781   (eval echo "\"\$as_me:3781: output\"" >&5)
  3781   cat conftest.out >&5
  3782   cat conftest.out >&5
  3782   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  3783   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  3783     lt_cv_nm_interface="MS dumpbin"
  3784     lt_cv_nm_interface="MS dumpbin"
  3784   fi
  3785   fi
  3785   rm -f conftest*
  3786   rm -f conftest*
  5002   fi
  5003   fi
  5003   rm -rf conftest*
  5004   rm -rf conftest*
  5004   ;;
  5005   ;;
  5005 *-*-irix6*)
  5006 *-*-irix6*)
  5006   # Find out which ABI we are using.
  5007   # Find out which ABI we are using.
  5007   echo '#line 5007 "configure"' > conftest.$ac_ext
  5008   echo '#line 5008 "configure"' > conftest.$ac_ext
  5008   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5009   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5009   (eval $ac_compile) 2>&5
  5010   (eval $ac_compile) 2>&5
  5010   ac_status=$?
  5011   ac_status=$?
  5011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5012   (exit $ac_status); }; then
  5013   (exit $ac_status); }; then
  7163    # The option is referenced via a variable to avoid confusing sed.
  7164    # The option is referenced via a variable to avoid confusing sed.
  7164    lt_compile=`echo "$ac_compile" | $SED \
  7165    lt_compile=`echo "$ac_compile" | $SED \
  7165    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7166    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7166    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7167    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7167    -e 's:$: $lt_compiler_flag:'`
  7168    -e 's:$: $lt_compiler_flag:'`
  7168    (eval echo "\"\$as_me:7168: $lt_compile\"" >&5)
  7169    (eval echo "\"\$as_me:7169: $lt_compile\"" >&5)
  7169    (eval "$lt_compile" 2>conftest.err)
  7170    (eval "$lt_compile" 2>conftest.err)
  7170    ac_status=$?
  7171    ac_status=$?
  7171    cat conftest.err >&5
  7172    cat conftest.err >&5
  7172    echo "$as_me:7172: \$? = $ac_status" >&5
  7173    echo "$as_me:7173: \$? = $ac_status" >&5
  7173    if (exit $ac_status) && test -s "$ac_outfile"; then
  7174    if (exit $ac_status) && test -s "$ac_outfile"; then
  7174      # The compiler can only warn and ignore the option if not recognized
  7175      # The compiler can only warn and ignore the option if not recognized
  7175      # So say no if there are warnings other than the usual output.
  7176      # So say no if there are warnings other than the usual output.
  7176      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  7177      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  7177      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7178      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7502    # The option is referenced via a variable to avoid confusing sed.
  7503    # The option is referenced via a variable to avoid confusing sed.
  7503    lt_compile=`echo "$ac_compile" | $SED \
  7504    lt_compile=`echo "$ac_compile" | $SED \
  7504    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7505    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7505    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7506    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7506    -e 's:$: $lt_compiler_flag:'`
  7507    -e 's:$: $lt_compiler_flag:'`
  7507    (eval echo "\"\$as_me:7507: $lt_compile\"" >&5)
  7508    (eval echo "\"\$as_me:7508: $lt_compile\"" >&5)
  7508    (eval "$lt_compile" 2>conftest.err)
  7509    (eval "$lt_compile" 2>conftest.err)
  7509    ac_status=$?
  7510    ac_status=$?
  7510    cat conftest.err >&5
  7511    cat conftest.err >&5
  7511    echo "$as_me:7511: \$? = $ac_status" >&5
  7512    echo "$as_me:7512: \$? = $ac_status" >&5
  7512    if (exit $ac_status) && test -s "$ac_outfile"; then
  7513    if (exit $ac_status) && test -s "$ac_outfile"; then
  7513      # The compiler can only warn and ignore the option if not recognized
  7514      # The compiler can only warn and ignore the option if not recognized
  7514      # So say no if there are warnings other than the usual output.
  7515      # So say no if there are warnings other than the usual output.
  7515      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  7516      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  7516      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7517      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7607    # with a dollar sign (not a hyphen), so the echo should work correctly.
  7608    # with a dollar sign (not a hyphen), so the echo should work correctly.
  7608    lt_compile=`echo "$ac_compile" | $SED \
  7609    lt_compile=`echo "$ac_compile" | $SED \
  7609    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7610    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7610    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7611    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7611    -e 's:$: $lt_compiler_flag:'`
  7612    -e 's:$: $lt_compiler_flag:'`
  7612    (eval echo "\"\$as_me:7612: $lt_compile\"" >&5)
  7613    (eval echo "\"\$as_me:7613: $lt_compile\"" >&5)
  7613    (eval "$lt_compile" 2>out/conftest.err)
  7614    (eval "$lt_compile" 2>out/conftest.err)
  7614    ac_status=$?
  7615    ac_status=$?
  7615    cat out/conftest.err >&5
  7616    cat out/conftest.err >&5
  7616    echo "$as_me:7616: \$? = $ac_status" >&5
  7617    echo "$as_me:7617: \$? = $ac_status" >&5
  7617    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7618    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7618    then
  7619    then
  7619      # The compiler can only warn and ignore the option if not recognized
  7620      # The compiler can only warn and ignore the option if not recognized
  7620      # So say no if there are warnings
  7621      # So say no if there are warnings
  7621      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  7622      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  7662    # with a dollar sign (not a hyphen), so the echo should work correctly.
  7663    # with a dollar sign (not a hyphen), so the echo should work correctly.
  7663    lt_compile=`echo "$ac_compile" | $SED \
  7664    lt_compile=`echo "$ac_compile" | $SED \
  7664    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7665    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7665    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7666    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7666    -e 's:$: $lt_compiler_flag:'`
  7667    -e 's:$: $lt_compiler_flag:'`
  7667    (eval echo "\"\$as_me:7667: $lt_compile\"" >&5)
  7668    (eval echo "\"\$as_me:7668: $lt_compile\"" >&5)
  7668    (eval "$lt_compile" 2>out/conftest.err)
  7669    (eval "$lt_compile" 2>out/conftest.err)
  7669    ac_status=$?
  7670    ac_status=$?
  7670    cat out/conftest.err >&5
  7671    cat out/conftest.err >&5
  7671    echo "$as_me:7671: \$? = $ac_status" >&5
  7672    echo "$as_me:7672: \$? = $ac_status" >&5
  7672    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7673    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7673    then
  7674    then
  7674      # The compiler can only warn and ignore the option if not recognized
  7675      # The compiler can only warn and ignore the option if not recognized
  7675      # So say no if there are warnings
  7676      # So say no if there are warnings
  7676      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  7677      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 10420   lt_cv_dlopen_self=cross
 10421   lt_cv_dlopen_self=cross
 10421 else
 10422 else
 10422   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 10423   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 10423   lt_status=$lt_dlunknown
 10424   lt_status=$lt_dlunknown
 10424   cat > conftest.$ac_ext <<_LT_EOF
 10425   cat > conftest.$ac_ext <<_LT_EOF
 10425 #line 10425 "configure"
 10426 #line 10426 "configure"
 10426 #include "confdefs.h"
 10427 #include "confdefs.h"
 10427 
 10428 
 10428 #if HAVE_DLFCN_H
 10429 #if HAVE_DLFCN_H
 10429 #include <dlfcn.h>
 10430 #include <dlfcn.h>
 10430 #endif
 10431 #endif
 10516   lt_cv_dlopen_self_static=cross
 10517   lt_cv_dlopen_self_static=cross
 10517 else
 10518 else
 10518   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 10519   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 10519   lt_status=$lt_dlunknown
 10520   lt_status=$lt_dlunknown
 10520   cat > conftest.$ac_ext <<_LT_EOF
 10521   cat > conftest.$ac_ext <<_LT_EOF
 10521 #line 10521 "configure"
 10522 #line 10522 "configure"
 10522 #include "confdefs.h"
 10523 #include "confdefs.h"
 10523 
 10524 
 10524 #if HAVE_DLFCN_H
 10525 #if HAVE_DLFCN_H
 10525 #include <dlfcn.h>
 10526 #include <dlfcn.h>
 10526 #endif
 10527 #endif
 14198    # The option is referenced via a variable to avoid confusing sed.
 14199    # The option is referenced via a variable to avoid confusing sed.
 14199    lt_compile=`echo "$ac_compile" | $SED \
 14200    lt_compile=`echo "$ac_compile" | $SED \
 14200    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 14201    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 14201    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 14202    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 14202    -e 's:$: $lt_compiler_flag:'`
 14203    -e 's:$: $lt_compiler_flag:'`
 14203    (eval echo "\"\$as_me:14203: $lt_compile\"" >&5)
 14204    (eval echo "\"\$as_me:14204: $lt_compile\"" >&5)
 14204    (eval "$lt_compile" 2>conftest.err)
 14205    (eval "$lt_compile" 2>conftest.err)
 14205    ac_status=$?
 14206    ac_status=$?
 14206    cat conftest.err >&5
 14207    cat conftest.err >&5
 14207    echo "$as_me:14207: \$? = $ac_status" >&5
 14208    echo "$as_me:14208: \$? = $ac_status" >&5
 14208    if (exit $ac_status) && test -s "$ac_outfile"; then
 14209    if (exit $ac_status) && test -s "$ac_outfile"; then
 14209      # The compiler can only warn and ignore the option if not recognized
 14210      # The compiler can only warn and ignore the option if not recognized
 14210      # So say no if there are warnings other than the usual output.
 14211      # So say no if there are warnings other than the usual output.
 14211      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 14212      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 14212      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 14213      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 14297    # with a dollar sign (not a hyphen), so the echo should work correctly.
 14298    # with a dollar sign (not a hyphen), so the echo should work correctly.
 14298    lt_compile=`echo "$ac_compile" | $SED \
 14299    lt_compile=`echo "$ac_compile" | $SED \
 14299    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 14300    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 14300    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 14301    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 14301    -e 's:$: $lt_compiler_flag:'`
 14302    -e 's:$: $lt_compiler_flag:'`
 14302    (eval echo "\"\$as_me:14302: $lt_compile\"" >&5)
 14303    (eval echo "\"\$as_me:14303: $lt_compile\"" >&5)
 14303    (eval "$lt_compile" 2>out/conftest.err)
 14304    (eval "$lt_compile" 2>out/conftest.err)
 14304    ac_status=$?
 14305    ac_status=$?
 14305    cat out/conftest.err >&5
 14306    cat out/conftest.err >&5
 14306    echo "$as_me:14306: \$? = $ac_status" >&5
 14307    echo "$as_me:14307: \$? = $ac_status" >&5
 14307    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 14308    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 14308    then
 14309    then
 14309      # The compiler can only warn and ignore the option if not recognized
 14310      # The compiler can only warn and ignore the option if not recognized
 14310      # So say no if there are warnings
 14311      # So say no if there are warnings
 14311      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 14312      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 14349    # with a dollar sign (not a hyphen), so the echo should work correctly.
 14350    # with a dollar sign (not a hyphen), so the echo should work correctly.
 14350    lt_compile=`echo "$ac_compile" | $SED \
 14351    lt_compile=`echo "$ac_compile" | $SED \
 14351    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 14352    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 14352    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 14353    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 14353    -e 's:$: $lt_compiler_flag:'`
 14354    -e 's:$: $lt_compiler_flag:'`
 14354    (eval echo "\"\$as_me:14354: $lt_compile\"" >&5)
 14355    (eval echo "\"\$as_me:14355: $lt_compile\"" >&5)
 14355    (eval "$lt_compile" 2>out/conftest.err)
 14356    (eval "$lt_compile" 2>out/conftest.err)
 14356    ac_status=$?
 14357    ac_status=$?
 14357    cat out/conftest.err >&5
 14358    cat out/conftest.err >&5
 14358    echo "$as_me:14358: \$? = $ac_status" >&5
 14359    echo "$as_me:14359: \$? = $ac_status" >&5
 14359    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 14360    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 14360    then
 14361    then
 14361      # The compiler can only warn and ignore the option if not recognized
 14362      # The compiler can only warn and ignore the option if not recognized
 14362      # So say no if there are warnings
 14363      # So say no if there are warnings
 14363      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 14364      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 15784 
 15785 
 15785 case "$enable_assertions" in
 15786 case "$enable_assertions" in
 15786     auto) # Use optimization settings to determine assertion level
 15787     auto) # Use optimization settings to determine assertion level
 15787         ;;
 15788         ;;
 15788     disabled)
 15789     disabled)
 15789         cat >>confdefs.h <<\_ACEOF
 15790 
       
 15791 cat >>confdefs.h <<\_ACEOF
 15790 #define SDL_DEFAULT_ASSERT_LEVEL 0
 15792 #define SDL_DEFAULT_ASSERT_LEVEL 0
 15791 _ACEOF
 15793 _ACEOF
 15792 
 15794 
 15793         ;;
 15795         ;;
 15794     release)
 15796     release)
 15795         cat >>confdefs.h <<\_ACEOF
 15797 
       
 15798 cat >>confdefs.h <<\_ACEOF
 15796 #define SDL_DEFAULT_ASSERT_LEVEL 1
 15799 #define SDL_DEFAULT_ASSERT_LEVEL 1
 15797 _ACEOF
 15800 _ACEOF
 15798 
 15801 
 15799         ;;
 15802         ;;
 15800     enabled)
 15803     enabled)
 15801         cat >>confdefs.h <<\_ACEOF
 15804 
       
 15805 cat >>confdefs.h <<\_ACEOF
 15802 #define SDL_DEFAULT_ASSERT_LEVEL 2
 15806 #define SDL_DEFAULT_ASSERT_LEVEL 2
 15803 _ACEOF
 15807 _ACEOF
 15804 
 15808 
 15805         ;;
 15809         ;;
 15806     paranoid)
 15810     paranoid)
 15807         cat >>confdefs.h <<\_ACEOF
 15811 
       
 15812 cat >>confdefs.h <<\_ACEOF
 15808 #define SDL_DEFAULT_ASSERT_LEVEL 3
 15813 #define SDL_DEFAULT_ASSERT_LEVEL 3
 15809 _ACEOF
 15814 _ACEOF
 15810 
 15815 
 15811         ;;
 15816         ;;
 15812     *)
 15817     *)
 15889 else
 15894 else
 15890   enable_libc=yes
 15895   enable_libc=yes
 15891 fi
 15896 fi
 15892 
 15897 
 15893 if test x$enable_libc = xyes; then
 15898 if test x$enable_libc = xyes; then
 15894     cat >>confdefs.h <<\_ACEOF
 15899 
       
 15900 cat >>confdefs.h <<\_ACEOF
 15895 #define HAVE_LIBC 1
 15901 #define HAVE_LIBC 1
 15896 _ACEOF
 15902 _ACEOF
 15897 
 15903 
 15898 
 15904 
 15899         { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 15905         { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 16783  ;;
 16789  ;;
 16784 esac
 16790 esac
 16785 
 16791 
 16786 
 16792 
 16787     if test x$ac_cv_func_memcmp_working = xyes; then
 16793     if test x$ac_cv_func_memcmp_working = xyes; then
 16788         cat >>confdefs.h <<\_ACEOF
 16794 
       
 16795 cat >>confdefs.h <<\_ACEOF
 16789 #define HAVE_MEMCMP 1
 16796 #define HAVE_MEMCMP 1
 16790 _ACEOF
 16797 _ACEOF
 16791 
 16798 
 16792     fi
 16799     fi
 16793     { echo "$as_me:$LINENO: checking for working strtod" >&5
 16800     { echo "$as_me:$LINENO: checking for working strtod" >&5
 17032 fi
 17039 fi
 17033 
 17040 
 17034 fi
 17041 fi
 17035 
 17042 
 17036     if test x$ac_cv_func_strtod = xyes; then
 17043     if test x$ac_cv_func_strtod = xyes; then
 17037         cat >>confdefs.h <<\_ACEOF
 17044 
       
 17045 cat >>confdefs.h <<\_ACEOF
 17038 #define HAVE_STRTOD 1
 17046 #define HAVE_STRTOD 1
 17039 _ACEOF
 17047 _ACEOF
 17040 
 17048 
 17041     fi
 17049     fi
 17042     { echo "$as_me:$LINENO: checking for mprotect" >&5
 17050     { echo "$as_me:$LINENO: checking for mprotect" >&5
 17156   (exit $ac_status); } && {
 17164   (exit $ac_status); } && {
 17157 	 test -z "$ac_c_werror_flag" ||
 17165 	 test -z "$ac_c_werror_flag" ||
 17158 	 test ! -s conftest.err
 17166 	 test ! -s conftest.err
 17159        } && test -s conftest.$ac_objext; then
 17167        } && test -s conftest.$ac_objext; then
 17160 
 17168 
 17161         cat >>confdefs.h <<\_ACEOF
 17169 
       
 17170 cat >>confdefs.h <<\_ACEOF
 17162 #define HAVE_MPROTECT 1
 17171 #define HAVE_MPROTECT 1
 17163 _ACEOF
 17172 _ACEOF
 17164 
 17173 
 17165 
 17174 
 17166 else
 17175 else
 17646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 17655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 17647 _ACEOF
 17656 _ACEOF
 17648 
 17657 
 17649 fi
 17658 fi
 17650 done
 17659 done
       
 17660 
       
 17661 
       
 17662     { echo "$as_me:$LINENO: checking for struct sigaction.sa_sigaction" >&5
       
 17663 echo $ECHO_N "checking for struct sigaction.sa_sigaction... $ECHO_C" >&6; }
       
 17664 if test "${ac_cv_member_struct_sigaction_sa_sigaction+set}" = set; then
       
 17665   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17666 else
       
 17667   cat >conftest.$ac_ext <<_ACEOF
       
 17668 /* confdefs.h.  */
       
 17669 _ACEOF
       
 17670 cat confdefs.h >>conftest.$ac_ext
       
 17671 cat >>conftest.$ac_ext <<_ACEOF
       
 17672 /* end confdefs.h.  */
       
 17673 #include <signal.h>
       
 17674 
       
 17675 int
       
 17676 main ()
       
 17677 {
       
 17678 static struct sigaction ac_aggr;
       
 17679 if (ac_aggr.sa_sigaction)
       
 17680 return 0;
       
 17681   ;
       
 17682   return 0;
       
 17683 }
       
 17684 _ACEOF
       
 17685 rm -f conftest.$ac_objext
       
 17686 if { (ac_try="$ac_compile"
       
 17687 case "(($ac_try" in
       
 17688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17689   *) ac_try_echo=$ac_try;;
       
 17690 esac
       
 17691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17692   (eval "$ac_compile") 2>conftest.er1
       
 17693   ac_status=$?
       
 17694   grep -v '^ *+' conftest.er1 >conftest.err
       
 17695   rm -f conftest.er1
       
 17696   cat conftest.err >&5
       
 17697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17698   (exit $ac_status); } && {
       
 17699 	 test -z "$ac_c_werror_flag" ||
       
 17700 	 test ! -s conftest.err
       
 17701        } && test -s conftest.$ac_objext; then
       
 17702   ac_cv_member_struct_sigaction_sa_sigaction=yes
       
 17703 else
       
 17704   echo "$as_me: failed program was:" >&5
       
 17705 sed 's/^/| /' conftest.$ac_ext >&5
       
 17706 
       
 17707 	cat >conftest.$ac_ext <<_ACEOF
       
 17708 /* confdefs.h.  */
       
 17709 _ACEOF
       
 17710 cat confdefs.h >>conftest.$ac_ext
       
 17711 cat >>conftest.$ac_ext <<_ACEOF
       
 17712 /* end confdefs.h.  */
       
 17713 #include <signal.h>
       
 17714 
       
 17715 int
       
 17716 main ()
       
 17717 {
       
 17718 static struct sigaction ac_aggr;
       
 17719 if (sizeof ac_aggr.sa_sigaction)
       
 17720 return 0;
       
 17721   ;
       
 17722   return 0;
       
 17723 }
       
 17724 _ACEOF
       
 17725 rm -f conftest.$ac_objext
       
 17726 if { (ac_try="$ac_compile"
       
 17727 case "(($ac_try" in
       
 17728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17729   *) ac_try_echo=$ac_try;;
       
 17730 esac
       
 17731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17732   (eval "$ac_compile") 2>conftest.er1
       
 17733   ac_status=$?
       
 17734   grep -v '^ *+' conftest.er1 >conftest.err
       
 17735   rm -f conftest.er1
       
 17736   cat conftest.err >&5
       
 17737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17738   (exit $ac_status); } && {
       
 17739 	 test -z "$ac_c_werror_flag" ||
       
 17740 	 test ! -s conftest.err
       
 17741        } && test -s conftest.$ac_objext; then
       
 17742   ac_cv_member_struct_sigaction_sa_sigaction=yes
       
 17743 else
       
 17744   echo "$as_me: failed program was:" >&5
       
 17745 sed 's/^/| /' conftest.$ac_ext >&5
       
 17746 
       
 17747 	ac_cv_member_struct_sigaction_sa_sigaction=no
       
 17748 fi
       
 17749 
       
 17750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17751 fi
       
 17752 
       
 17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17754 fi
       
 17755 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sigaction_sa_sigaction" >&5
       
 17756 echo "${ECHO_T}$ac_cv_member_struct_sigaction_sa_sigaction" >&6; }
       
 17757 if test $ac_cv_member_struct_sigaction_sa_sigaction = yes; then
       
 17758   cat >>confdefs.h <<\_ACEOF
       
 17759 #define HAVE_SA_SIGACTION 1
       
 17760 _ACEOF
       
 17761 
       
 17762 fi
 17651 
 17763 
 17652 fi
 17764 fi
 17653 
 17765 
 17654 { echo "$as_me:$LINENO: checking for void*" >&5
 17766 { echo "$as_me:$LINENO: checking for void*" >&5
 17655 echo $ECHO_N "checking for void*... $ECHO_C" >&6; }
 17767 echo $ECHO_N "checking for void*... $ECHO_C" >&6; }
 18124       conftest$ac_exeext conftest.$ac_ext
 18236       conftest$ac_exeext conftest.$ac_ext
 18125     { echo "$as_me:$LINENO: result: $have_gcc_atomics" >&5
 18237     { echo "$as_me:$LINENO: result: $have_gcc_atomics" >&5
 18126 echo "${ECHO_T}$have_gcc_atomics" >&6; }
 18238 echo "${ECHO_T}$have_gcc_atomics" >&6; }
 18127 
 18239 
 18128     if test x$have_gcc_atomics = xyes; then
 18240     if test x$have_gcc_atomics = xyes; then
 18129         cat >>confdefs.h <<\_ACEOF
 18241 
       
 18242 cat >>confdefs.h <<\_ACEOF
 18130 #define HAVE_GCC_ATOMICS 1
 18243 #define HAVE_GCC_ATOMICS 1
 18131 _ACEOF
 18244 _ACEOF
 18132 
 18245 
 18133     else
 18246     else
 18134         # See if we have the minimum operation needed for GCC atomics
 18247         # See if we have the minimum operation needed for GCC atomics
 18181 fi
 18294 fi
 18182 
 18295 
 18183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 18296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 18184       conftest$ac_exeext conftest.$ac_ext
 18297       conftest$ac_exeext conftest.$ac_ext
 18185         if test x$have_gcc_sync_lock_test_and_set = xyes; then
 18298         if test x$have_gcc_sync_lock_test_and_set = xyes; then
 18186             cat >>confdefs.h <<\_ACEOF
 18299 
       
 18300 cat >>confdefs.h <<\_ACEOF
 18187 #define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
 18301 #define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
 18188 _ACEOF
 18302 _ACEOF
 18189 
 18303 
 18190         fi
 18304         fi
 18191     fi
 18305     fi
 18192 fi
 18306 fi
       
 18307 
       
 18308 # Check for pthread implementation
       
 18309 { echo "$as_me:$LINENO: checking for pthread spinlock" >&5
       
 18310 echo $ECHO_N "checking for pthread spinlock... $ECHO_C" >&6; }
       
 18311 have_pthread_spinlock=no
       
 18312 
       
 18313 cat >conftest.$ac_ext <<_ACEOF
       
 18314 /* confdefs.h.  */
       
 18315 _ACEOF
       
 18316 cat confdefs.h >>conftest.$ac_ext
       
 18317 cat >>conftest.$ac_ext <<_ACEOF
       
 18318 /* end confdefs.h.  */
       
 18319 
       
 18320 #include <pthread.h>
       
 18321 
       
 18322 int
       
 18323 main ()
       
 18324 {
       
 18325 
       
 18326 pthread_spinlock_t a;
       
 18327 pthread_spin_trylock(&a);
       
 18328 pthread_spin_unlock(&a);
       
 18329 
       
 18330   ;
       
 18331   return 0;
       
 18332 }
       
 18333 _ACEOF
       
 18334 rm -f conftest.$ac_objext conftest$ac_exeext
       
 18335 if { (ac_try="$ac_link"
       
 18336 case "(($ac_try" in
       
 18337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18338   *) ac_try_echo=$ac_try;;
       
 18339 esac
       
 18340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18341   (eval "$ac_link") 2>conftest.er1
       
 18342   ac_status=$?
       
 18343   grep -v '^ *+' conftest.er1 >conftest.err
       
 18344   rm -f conftest.er1
       
 18345   cat conftest.err >&5
       
 18346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18347   (exit $ac_status); } && {
       
 18348 	 test -z "$ac_c_werror_flag" ||
       
 18349 	 test ! -s conftest.err
       
 18350        } && test -s conftest$ac_exeext &&
       
 18351        $as_test_x conftest$ac_exeext; then
       
 18352 
       
 18353 have_pthread_spinlock=yes
       
 18354 
       
 18355 else
       
 18356   echo "$as_me: failed program was:" >&5
       
 18357 sed 's/^/| /' conftest.$ac_ext >&5
       
 18358 
       
 18359 
       
 18360 fi
       
 18361 
       
 18362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 18363       conftest$ac_exeext conftest.$ac_ext
       
 18364 { echo "$as_me:$LINENO: result: $have_pthread_spinlock" >&5
       
 18365 echo "${ECHO_T}$have_pthread_spinlock" >&6; }
       
 18366 if test x$have_pthread_spinlock = xyes; then
       
 18367 
       
 18368 cat >>confdefs.h <<\_ACEOF
       
 18369 #define HAVE_PTHREAD_SPINLOCK 1
       
 18370 _ACEOF
       
 18371 
       
 18372 fi
       
 18373 
 18193 
 18374 
 18194 # Standard C sources
 18375 # Standard C sources
 18195 SOURCES="$SOURCES $srcdir/src/*.c"
 18376 SOURCES="$SOURCES $srcdir/src/*.c"
 18196 SOURCES="$SOURCES $srcdir/src/atomic/*.c"
 18377 SOURCES="$SOURCES $srcdir/src/atomic/*.c"
 18197 SOURCES="$SOURCES $srcdir/src/audio/*.c"
 18378 SOURCES="$SOURCES $srcdir/src/audio/*.c"
 18212 else
 18393 else
 18213   enable_atomic=yes
 18394   enable_atomic=yes
 18214 fi
 18395 fi
 18215 
 18396 
 18216 if test x$enable_atomic != xyes; then
 18397 if test x$enable_atomic != xyes; then
 18217     cat >>confdefs.h <<\_ACEOF
 18398 
       
 18399 cat >>confdefs.h <<\_ACEOF
 18218 #define SDL_ATOMIC_DISABLED 1
 18400 #define SDL_ATOMIC_DISABLED 1
 18219 _ACEOF
 18401 _ACEOF
 18220 
 18402 
 18221 fi
 18403 fi
 18222 # Check whether --enable-audio was given.
 18404 # Check whether --enable-audio was given.
 18225 else
 18407 else
 18226   enable_audio=yes
 18408   enable_audio=yes
 18227 fi
 18409 fi
 18228 
 18410 
 18229 if test x$enable_audio != xyes; then
 18411 if test x$enable_audio != xyes; then
 18230     cat >>confdefs.h <<\_ACEOF
 18412 
       
 18413 cat >>confdefs.h <<\_ACEOF
 18231 #define SDL_AUDIO_DISABLED 1
 18414 #define SDL_AUDIO_DISABLED 1
 18232 _ACEOF
 18415 _ACEOF
 18233 
 18416 
 18234 fi
 18417 fi
 18235 # Check whether --enable-video was given.
 18418 # Check whether --enable-video was given.
 18238 else
 18421 else
 18239   enable_video=yes
 18422   enable_video=yes
 18240 fi
 18423 fi
 18241 
 18424 
 18242 if test x$enable_video != xyes; then
 18425 if test x$enable_video != xyes; then
 18243     cat >>confdefs.h <<\_ACEOF
 18426 
       
 18427 cat >>confdefs.h <<\_ACEOF
 18244 #define SDL_VIDEO_DISABLED 1
 18428 #define SDL_VIDEO_DISABLED 1
 18245 _ACEOF
 18429 _ACEOF
 18246 
 18430 
 18247 fi
 18431 fi
 18248 # Check whether --enable-render was given.
 18432 # Check whether --enable-render was given.
 18251 else
 18435 else
 18252   enable_render=yes
 18436   enable_render=yes
 18253 fi
 18437 fi
 18254 
 18438 
 18255 if test x$enable_render != xyes; then
 18439 if test x$enable_render != xyes; then
 18256     cat >>confdefs.h <<\_ACEOF
 18440 
       
 18441 cat >>confdefs.h <<\_ACEOF
 18257 #define SDL_RENDER_DISABLED 1
 18442 #define SDL_RENDER_DISABLED 1
 18258 _ACEOF
 18443 _ACEOF
 18259 
 18444 
 18260 fi
 18445 fi
 18261 # Check whether --enable-events was given.
 18446 # Check whether --enable-events was given.
 18264 else
 18449 else
 18265   enable_events=yes
 18450   enable_events=yes
 18266 fi
 18451 fi
 18267 
 18452 
 18268 if test x$enable_events != xyes; then
 18453 if test x$enable_events != xyes; then
 18269     cat >>confdefs.h <<\_ACEOF
 18454 
       
 18455 cat >>confdefs.h <<\_ACEOF
 18270 #define SDL_EVENTS_DISABLED 1
 18456 #define SDL_EVENTS_DISABLED 1
 18271 _ACEOF
 18457 _ACEOF
 18272 
 18458 
 18273 fi
 18459 fi
 18274 # Check whether --enable-joystick was given.
 18460 # Check whether --enable-joystick was given.
 18277 else
 18463 else
 18278   enable_joystick=yes
 18464   enable_joystick=yes
 18279 fi
 18465 fi
 18280 
 18466 
 18281 if test x$enable_joystick != xyes; then
 18467 if test x$enable_joystick != xyes; then
 18282     cat >>confdefs.h <<\_ACEOF
 18468 
       
 18469 cat >>confdefs.h <<\_ACEOF
 18283 #define SDL_JOYSTICK_DISABLED 1
 18470 #define SDL_JOYSTICK_DISABLED 1
 18284 _ACEOF
 18471 _ACEOF
 18285 
 18472 
 18286 else
 18473 else
 18287     SOURCES="$SOURCES $srcdir/src/joystick/*.c"
 18474     SOURCES="$SOURCES $srcdir/src/joystick/*.c"
 18292 else
 18479 else
 18293   enable_haptic=yes
 18480   enable_haptic=yes
 18294 fi
 18481 fi
 18295 
 18482 
 18296 if test x$enable_haptic != xyes; then
 18483 if test x$enable_haptic != xyes; then
 18297     cat >>confdefs.h <<\_ACEOF
 18484 
       
 18485 cat >>confdefs.h <<\_ACEOF
 18298 #define SDL_HAPTIC_DISABLED 1
 18486 #define SDL_HAPTIC_DISABLED 1
 18299 _ACEOF
 18487 _ACEOF
 18300 
 18488 
 18301 else
 18489 else
 18302     SOURCES="$SOURCES $srcdir/src/haptic/*.c"
 18490     SOURCES="$SOURCES $srcdir/src/haptic/*.c"
 18307 else
 18495 else
 18308   enable_power=yes
 18496   enable_power=yes
 18309 fi
 18497 fi
 18310 
 18498 
 18311 if test x$enable_power != xyes; then
 18499 if test x$enable_power != xyes; then
 18312     cat >>confdefs.h <<\_ACEOF
 18500 
       
 18501 cat >>confdefs.h <<\_ACEOF
 18313 #define SDL_POWER_DISABLED 1
 18502 #define SDL_POWER_DISABLED 1
 18314 _ACEOF
 18503 _ACEOF
 18315 
 18504 
 18316 else
 18505 else
 18317     SOURCES="$SOURCES $srcdir/src/power/*.c"
 18506     SOURCES="$SOURCES $srcdir/src/power/*.c"
 18322 else
 18511 else
 18323   enable_threads=yes
 18512   enable_threads=yes
 18324 fi
 18513 fi
 18325 
 18514 
 18326 if test x$enable_threads != xyes; then
 18515 if test x$enable_threads != xyes; then
 18327     cat >>confdefs.h <<\_ACEOF
 18516 
       
 18517 cat >>confdefs.h <<\_ACEOF
 18328 #define SDL_THREADS_DISABLED 1
 18518 #define SDL_THREADS_DISABLED 1
 18329 _ACEOF
 18519 _ACEOF
 18330 
 18520 
 18331 fi
 18521 fi
 18332 # Check whether --enable-timers was given.
 18522 # Check whether --enable-timers was given.
 18335 else
 18525 else
 18336   enable_timers=yes
 18526   enable_timers=yes
 18337 fi
 18527 fi
 18338 
 18528 
 18339 if test x$enable_timers != xyes; then
 18529 if test x$enable_timers != xyes; then
 18340     cat >>confdefs.h <<\_ACEOF
 18530 
       
 18531 cat >>confdefs.h <<\_ACEOF
 18341 #define SDL_TIMERS_DISABLED 1
 18532 #define SDL_TIMERS_DISABLED 1
 18342 _ACEOF
 18533 _ACEOF
 18343 
 18534 
 18344 fi
 18535 fi
 18345 # Check whether --enable-file was given.
 18536 # Check whether --enable-file was given.
 18348 else
 18539 else
 18349   enable_file=yes
 18540   enable_file=yes
 18350 fi
 18541 fi
 18351 
 18542 
 18352 if test x$enable_file != xyes; then
 18543 if test x$enable_file != xyes; then
 18353     cat >>confdefs.h <<\_ACEOF
 18544 
       
 18545 cat >>confdefs.h <<\_ACEOF
 18354 #define SDL_FILE_DISABLED 1
 18546 #define SDL_FILE_DISABLED 1
 18355 _ACEOF
 18547 _ACEOF
 18356 
 18548 
 18357 fi
 18549 fi
 18358 # Check whether --enable-loadso was given.
 18550 # Check whether --enable-loadso was given.
 18361 else
 18553 else
 18362   enable_loadso=yes
 18554   enable_loadso=yes
 18363 fi
 18555 fi
 18364 
 18556 
 18365 if test x$enable_loadso != xyes; then
 18557 if test x$enable_loadso != xyes; then
 18366     cat >>confdefs.h <<\_ACEOF
 18558 
       
 18559 cat >>confdefs.h <<\_ACEOF
 18367 #define SDL_LOADSO_DISABLED 1
 18560 #define SDL_LOADSO_DISABLED 1
 18368 _ACEOF
 18561 _ACEOF
 18369 
 18562 
 18370 fi
 18563 fi
 18371 # Check whether --enable-cpuinfo was given.
 18564 # Check whether --enable-cpuinfo was given.
 18374 else
 18567 else
 18375   enable_cpuinfo=yes
 18568   enable_cpuinfo=yes
 18376 fi
 18569 fi
 18377 
 18570 
 18378 if test x$enable_cpuinfo != xyes; then
 18571 if test x$enable_cpuinfo != xyes; then
 18379     cat >>confdefs.h <<\_ACEOF
 18572 
       
 18573 cat >>confdefs.h <<\_ACEOF
 18380 #define SDL_CPUINFO_DISABLED 1
 18574 #define SDL_CPUINFO_DISABLED 1
 18381 _ACEOF
 18575 _ACEOF
 18382 
 18576 
 18383 fi
 18577 fi
 18384 # Check whether --enable-atomic was given.
 18578 # Check whether --enable-atomic was given.
 18387 else
 18581 else
 18388   enable_atomic=yes
 18582   enable_atomic=yes
 18389 fi
 18583 fi
 18390 
 18584 
 18391 if test x$enable_atomic != xyes; then
 18585 if test x$enable_atomic != xyes; then
 18392     cat >>confdefs.h <<\_ACEOF
 18586 
       
 18587 cat >>confdefs.h <<\_ACEOF
 18393 #define SDL_ATOMIC_DISABLED 1
 18588 #define SDL_ATOMIC_DISABLED 1
 18394 _ACEOF
 18589 _ACEOF
 18395 
 18590 
 18396 fi
 18591 fi
 18397 # Check whether --enable-assembly was given.
 18592 # Check whether --enable-assembly was given.
 18400 else
 18595 else
 18401   enable_assembly=yes
 18596   enable_assembly=yes
 18402 fi
 18597 fi
 18403 
 18598 
 18404 if test x$enable_assembly = xyes; then
 18599 if test x$enable_assembly = xyes; then
 18405     cat >>confdefs.h <<\_ACEOF
 18600 
       
 18601 cat >>confdefs.h <<\_ACEOF
 18406 #define SDL_ASSEMBLY_ROUTINES 1
 18602 #define SDL_ASSEMBLY_ROUTINES 1
 18407 _ACEOF
 18603 _ACEOF
 18408 
 18604 
 18409 
 18605 
 18410     # Make sure that we don't generate floating point code that would
 18606     # Make sure that we don't generate floating point code that would
 18992 echo "${ECHO_T}$have_gcc_altivec" >&6; }
 19188 echo "${ECHO_T}$have_gcc_altivec" >&6; }
 18993         fi
 19189         fi
 18994         CFLAGS="$save_CFLAGS"
 19190         CFLAGS="$save_CFLAGS"
 18995 
 19191 
 18996         if test x$have_gcc_altivec = xyes; then
 19192         if test x$have_gcc_altivec = xyes; then
 18997             cat >>confdefs.h <<\_ACEOF
 19193 
       
 19194 cat >>confdefs.h <<\_ACEOF
 18998 #define SDL_ALTIVEC_BLITTERS 1
 19195 #define SDL_ALTIVEC_BLITTERS 1
 18999 _ACEOF
 19196 _ACEOF
 19000 
 19197 
 19001             if test x$have_altivec_h_hdr = xyes; then
 19198             if test x$have_altivec_h_hdr = xyes; then
 19002               cat >>confdefs.h <<\_ACEOF
 19199 
       
 19200 cat >>confdefs.h <<\_ACEOF
 19003 #define HAVE_ALTIVEC_H 1
 19201 #define HAVE_ALTIVEC_H 1
 19004 _ACEOF
 19202 _ACEOF
 19005 
 19203 
 19006             fi
 19204             fi
 19007             EXTRA_CFLAGS="$EXTRA_CFLAGS $altivec_CFLAGS"
 19205             EXTRA_CFLAGS="$EXTRA_CFLAGS $altivec_CFLAGS"
 19108 	 test -z "$ac_c_werror_flag" ||
 19306 	 test -z "$ac_c_werror_flag" ||
 19109 	 test ! -s conftest.err
 19307 	 test ! -s conftest.err
 19110        } && test -s conftest.$ac_objext; then
 19308        } && test -s conftest.$ac_objext; then
 19111 
 19309 
 19112             have_oss=yes
 19310             have_oss=yes
 19113             cat >>confdefs.h <<\_ACEOF
 19311 
       
 19312 cat >>confdefs.h <<\_ACEOF
 19114 #define SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H 1
 19313 #define SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H 1
 19115 _ACEOF
 19314 _ACEOF
 19116 
 19315 
 19117 
 19316 
 19118 else
 19317 else
 19125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 19324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 19126         fi
 19325         fi
 19127         { echo "$as_me:$LINENO: result: $have_oss" >&5
 19326         { echo "$as_me:$LINENO: result: $have_oss" >&5
 19128 echo "${ECHO_T}$have_oss" >&6; }
 19327 echo "${ECHO_T}$have_oss" >&6; }
 19129         if test x$have_oss = xyes; then
 19328         if test x$have_oss = xyes; then
 19130             cat >>confdefs.h <<\_ACEOF
 19329 
       
 19330 cat >>confdefs.h <<\_ACEOF
 19131 #define SDL_AUDIO_DRIVER_OSS 1
 19331 #define SDL_AUDIO_DRIVER_OSS 1
 19132 _ACEOF
 19332 _ACEOF
 19133 
 19333 
 19134             SOURCES="$SOURCES $srcdir/src/audio/dsp/*.c"
 19334             SOURCES="$SOURCES $srcdir/src/audio/dsp/*.c"
 19135             have_audio=yes
 19335             have_audio=yes
 19422   enable_alsa_shared=yes
 19622   enable_alsa_shared=yes
 19423 fi
 19623 fi
 19424 
 19624 
 19425             alsa_lib=`find_lib "libasound.so.*" "$ALSA_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`
 19625             alsa_lib=`find_lib "libasound.so.*" "$ALSA_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`
 19426 
 19626 
 19427             cat >>confdefs.h <<\_ACEOF
 19627 
       
 19628 cat >>confdefs.h <<\_ACEOF
 19428 #define SDL_AUDIO_DRIVER_ALSA 1
 19629 #define SDL_AUDIO_DRIVER_ALSA 1
 19429 _ACEOF
 19630 _ACEOF
 19430 
 19631 
 19431             SOURCES="$SOURCES $srcdir/src/audio/alsa/*.c"
 19632             SOURCES="$SOURCES $srcdir/src/audio/alsa/*.c"
 19432             EXTRA_CFLAGS="$EXTRA_CFLAGS $ALSA_CFLAGS"
 19633             EXTRA_CFLAGS="$EXTRA_CFLAGS $ALSA_CFLAGS"
 19436 echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic ALSA loading" >&2;}
 19637 echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic ALSA loading" >&2;}
 19437             fi
 19638             fi
 19438             if test x$have_loadso = xyes && \
 19639             if test x$have_loadso = xyes && \
 19439                test x$enable_alsa_shared = xyes && test x$alsa_lib != x; then
 19640                test x$enable_alsa_shared = xyes && test x$alsa_lib != x; then
 19440                 echo "-- dynamic libasound -> $alsa_lib"
 19641                 echo "-- dynamic libasound -> $alsa_lib"
 19441                 cat >>confdefs.h <<_ACEOF
 19642 
       
 19643 cat >>confdefs.h <<_ACEOF
 19442 #define SDL_AUDIO_DRIVER_ALSA_DYNAMIC "$alsa_lib"
 19644 #define SDL_AUDIO_DRIVER_ALSA_DYNAMIC "$alsa_lib"
 19443 _ACEOF
 19645 _ACEOF
 19444 
 19646 
 19445             else
 19647             else
 19446                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ALSA_LIBS"
 19648                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ALSA_LIBS"
 19758   enable_esd_shared=yes
 19960   enable_esd_shared=yes
 19759 fi
 19961 fi
 19760 
 19962 
 19761             esd_lib=`find_lib "libesd.so.*" "$ESD_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`
 19963             esd_lib=`find_lib "libesd.so.*" "$ESD_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`
 19762 
 19964 
 19763             cat >>confdefs.h <<\_ACEOF
 19965 
       
 19966 cat >>confdefs.h <<\_ACEOF
 19764 #define SDL_AUDIO_DRIVER_ESD 1
 19967 #define SDL_AUDIO_DRIVER_ESD 1
 19765 _ACEOF
 19968 _ACEOF
 19766 
 19969 
 19767             SOURCES="$SOURCES $srcdir/src/audio/esd/*.c"
 19970             SOURCES="$SOURCES $srcdir/src/audio/esd/*.c"
 19768             EXTRA_CFLAGS="$EXTRA_CFLAGS $ESD_CFLAGS"
 19971             EXTRA_CFLAGS="$EXTRA_CFLAGS $ESD_CFLAGS"
 19772 echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic ESD loading" >&2;}
 19975 echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic ESD loading" >&2;}
 19773             fi
 19976             fi
 19774             if test x$have_loadso = xyes && \
 19977             if test x$have_loadso = xyes && \
 19775                test x$enable_esd_shared = xyes && test x$esd_lib != x; then
 19978                test x$enable_esd_shared = xyes && test x$esd_lib != x; then
 19776                 echo "-- dynamic libesd -> $esd_lib"
 19979                 echo "-- dynamic libesd -> $esd_lib"
 19777                 cat >>confdefs.h <<_ACEOF
 19980 
       
 19981 cat >>confdefs.h <<_ACEOF
 19778 #define SDL_AUDIO_DRIVER_ESD_DYNAMIC "$esd_lib"
 19982 #define SDL_AUDIO_DRIVER_ESD_DYNAMIC "$esd_lib"
 19779 _ACEOF
 19983 _ACEOF
 19780 
 19984 
 19781             else
 19985             else
 19782                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ESD_LIBS"
 19986                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ESD_LIBS"
 19861   enable_pulseaudio_shared=yes
 20065   enable_pulseaudio_shared=yes
 19862 fi
 20066 fi
 19863 
 20067 
 19864             pulseaudio_lib=`find_lib "libpulse-simple.so.*" "$PULSEAUDIO_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`
 20068             pulseaudio_lib=`find_lib "libpulse-simple.so.*" "$PULSEAUDIO_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`
 19865 
 20069 
 19866             cat >>confdefs.h <<\_ACEOF
 20070 
       
 20071 cat >>confdefs.h <<\_ACEOF
 19867 #define SDL_AUDIO_DRIVER_PULSEAUDIO 1
 20072 #define SDL_AUDIO_DRIVER_PULSEAUDIO 1
 19868 _ACEOF
 20073 _ACEOF
 19869 
 20074 
 19870             SOURCES="$SOURCES $srcdir/src/audio/pulseaudio/*.c"
 20075             SOURCES="$SOURCES $srcdir/src/audio/pulseaudio/*.c"
 19871             EXTRA_CFLAGS="$EXTRA_CFLAGS $PULSEAUDIO_CFLAGS"
 20076             EXTRA_CFLAGS="$EXTRA_CFLAGS $PULSEAUDIO_CFLAGS"
 19875 echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic PulseAudio loading" >&2;}
 20080 echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic PulseAudio loading" >&2;}
 19876             fi
 20081             fi
 19877             if test x$have_loadso = xyes && \
 20082             if test x$have_loadso = xyes && \
 19878                test x$enable_pulseaudio_shared = xyes && test x$pulseaudio_lib != x; then
 20083                test x$enable_pulseaudio_shared = xyes && test x$pulseaudio_lib != x; then
 19879                 echo "-- dynamic libpulse-simple -> $pulseaudio_lib"
 20084                 echo "-- dynamic libpulse-simple -> $pulseaudio_lib"
 19880                 cat >>confdefs.h <<_ACEOF
 20085 
       
 20086 cat >>confdefs.h <<_ACEOF
 19881 #define SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC "$pulseaudio_lib"
 20087 #define SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC "$pulseaudio_lib"
 19882 _ACEOF
 20088 _ACEOF
 19883 
 20089 
 19884             else
 20090             else
 19885                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSEAUDIO_LIBS"
 20091                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSEAUDIO_LIBS"
 20007   enable_arts_shared=yes
 20213   enable_arts_shared=yes
 20008 fi
 20214 fi
 20009 
 20215 
 20010                 arts_lib=`find_lib "libartsc.so.*" "$ARTS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`
 20216                 arts_lib=`find_lib "libartsc.so.*" "$ARTS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`
 20011 
 20217 
 20012                 cat >>confdefs.h <<\_ACEOF
 20218 
       
 20219 cat >>confdefs.h <<\_ACEOF
 20013 #define SDL_AUDIO_DRIVER_ARTS 1
 20220 #define SDL_AUDIO_DRIVER_ARTS 1
 20014 _ACEOF
 20221 _ACEOF
 20015 
 20222 
 20016                 SOURCES="$SOURCES $srcdir/src/audio/arts/*.c"
 20223                 SOURCES="$SOURCES $srcdir/src/audio/arts/*.c"
 20017                 EXTRA_CFLAGS="$EXTRA_CFLAGS $ARTS_CFLAGS"
 20224                 EXTRA_CFLAGS="$EXTRA_CFLAGS $ARTS_CFLAGS"
 20021 echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic ARTS loading" >&2;}
 20228 echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic ARTS loading" >&2;}
 20022                 fi
 20229                 fi
 20023                 if test x$have_loadso = xyes && \
 20230                 if test x$have_loadso = xyes && \
 20024                    test x$enable_arts_shared = xyes && test x$arts_lib != x; then
 20231                    test x$enable_arts_shared = xyes && test x$arts_lib != x; then
 20025                     echo "-- dynamic libartsc -> $arts_lib"
 20232                     echo "-- dynamic libartsc -> $arts_lib"
 20026                     cat >>confdefs.h <<_ACEOF
 20233 
       
 20234 cat >>confdefs.h <<_ACEOF
 20027 #define SDL_AUDIO_DRIVER_ARTS_DYNAMIC "$arts_lib"
 20235 #define SDL_AUDIO_DRIVER_ARTS_DYNAMIC "$arts_lib"
 20028 _ACEOF
 20236 _ACEOF
 20029 
 20237 
 20030                 else
 20238                 else
 20031                     EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ARTS_LIBS"
 20239                     EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ARTS_LIBS"
 20276 echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic NAS loading" >&2;}
 20484 echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic NAS loading" >&2;}
 20277             fi
 20485             fi
 20278             if test x$have_loadso = xyes && \
 20486             if test x$have_loadso = xyes && \
 20279                test x$enable_nas_shared = xyes && test x$nas_lib != x; then
 20487                test x$enable_nas_shared = xyes && test x$nas_lib != x; then
 20280                 echo "-- dynamic libaudio -> $nas_lib"
 20488                 echo "-- dynamic libaudio -> $nas_lib"
 20281                 cat >>confdefs.h <<_ACEOF
 20489 
       
 20490 cat >>confdefs.h <<_ACEOF
 20282 #define SDL_AUDIO_DRIVER_NAS_DYNAMIC "$nas_lib"
 20491 #define SDL_AUDIO_DRIVER_NAS_DYNAMIC "$nas_lib"
 20283 _ACEOF
 20492 _ACEOF
 20284 
 20493 
 20285             else
 20494             else
 20286                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $NAS_LIBS"
 20495                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $NAS_LIBS"
 20287             fi
 20496             fi
 20288 
 20497 
 20289             cat >>confdefs.h <<\_ACEOF
 20498 
       
 20499 cat >>confdefs.h <<\_ACEOF
 20290 #define SDL_AUDIO_DRIVER_NAS 1
 20500 #define SDL_AUDIO_DRIVER_NAS 1
 20291 _ACEOF
 20501 _ACEOF
 20292 
 20502 
 20293             SOURCES="$SOURCES $srcdir/src/audio/nas/*.c"
 20503             SOURCES="$SOURCES $srcdir/src/audio/nas/*.c"
 20294             EXTRA_CFLAGS="$EXTRA_CFLAGS $NAS_CFLAGS"
 20504             EXTRA_CFLAGS="$EXTRA_CFLAGS $NAS_CFLAGS"
 20305 else
 20515 else
 20306   enable_diskaudio=yes
 20516   enable_diskaudio=yes
 20307 fi
 20517 fi
 20308 
 20518 
 20309     if test x$enable_audio = xyes -a x$enable_diskaudio = xyes; then
 20519     if test x$enable_audio = xyes -a x$enable_diskaudio = xyes; then
 20310         cat >>confdefs.h <<\_ACEOF
 20520 
       
 20521 cat >>confdefs.h <<\_ACEOF
 20311 #define SDL_AUDIO_DRIVER_DISK 1
 20522 #define SDL_AUDIO_DRIVER_DISK 1
 20312 _ACEOF
 20523 _ACEOF
 20313 
 20524 
 20314         SOURCES="$SOURCES $srcdir/src/audio/disk/*.c"
 20525         SOURCES="$SOURCES $srcdir/src/audio/disk/*.c"
 20315     fi
 20526     fi
 20323 else
 20534 else
 20324   enable_dummyaudio=yes
 20535   enable_dummyaudio=yes
 20325 fi
 20536 fi
 20326 
 20537 
 20327     if test x$enable_audio = xyes -a x$enable_dummyaudio = xyes; then
 20538     if test x$enable_audio = xyes -a x$enable_dummyaudio = xyes; then
 20328         cat >>confdefs.h <<\_ACEOF
 20539 
       
 20540 cat >>confdefs.h <<\_ACEOF
 20329 #define SDL_AUDIO_DRIVER_DUMMY 1
 20541 #define SDL_AUDIO_DRIVER_DUMMY 1
 20330 _ACEOF
 20542 _ACEOF
 20331 
 20543 
 20332         SOURCES="$SOURCES $srcdir/src/audio/dummy/*.c"
 20544         SOURCES="$SOURCES $srcdir/src/audio/dummy/*.c"
 20333     fi
 20545     fi
 21779                 X_CFLAGS="$X_CFLAGS -DNO_SHARED_MEMORY"
 21991                 X_CFLAGS="$X_CFLAGS -DNO_SHARED_MEMORY"
 21780             fi
 21992             fi
 21781             CFLAGS="$CFLAGS $X_CFLAGS"
 21993             CFLAGS="$CFLAGS $X_CFLAGS"
 21782             LDFLAGS="$LDFLAGS $X_LIBS"
 21994             LDFLAGS="$LDFLAGS $X_LIBS"
 21783 
 21995 
 21784             cat >>confdefs.h <<\_ACEOF
 21996 
       
 21997 cat >>confdefs.h <<\_ACEOF
 21785 #define SDL_VIDEO_DRIVER_X11 1
 21998 #define SDL_VIDEO_DRIVER_X11 1
 21786 _ACEOF
 21999 _ACEOF
 21787 
 22000 
 21788             SOURCES="$SOURCES $srcdir/src/video/x11/*.c"
 22001             SOURCES="$SOURCES $srcdir/src/video/x11/*.c"
 21789             EXTRA_CFLAGS="$EXTRA_CFLAGS $X_CFLAGS"
 22002             EXTRA_CFLAGS="$EXTRA_CFLAGS $X_CFLAGS"
 21806 
 22019 
 21807             if test x$have_loadso = xyes && \
 22020             if test x$have_loadso = xyes && \
 21808                test x$enable_x11_shared = xyes && test x$x11_lib != x && test x$x11ext_lib != x; then
 22021                test x$enable_x11_shared = xyes && test x$x11_lib != x && test x$x11ext_lib != x; then
 21809                 echo "-- dynamic libX11 -> $x11_lib"
 22022                 echo "-- dynamic libX11 -> $x11_lib"
 21810                 echo "-- dynamic libX11ext -> $x11ext_lib"
 22023                 echo "-- dynamic libX11ext -> $x11ext_lib"
 21811                 cat >>confdefs.h <<_ACEOF
 22024 
       
 22025 cat >>confdefs.h <<_ACEOF
 21812 #define SDL_VIDEO_DRIVER_X11_DYNAMIC "$x11_lib"
 22026 #define SDL_VIDEO_DRIVER_X11_DYNAMIC "$x11_lib"
 21813 _ACEOF
 22027 _ACEOF
 21814 
 22028 
 21815                 cat >>confdefs.h <<_ACEOF
 22029 
       
 22030 cat >>confdefs.h <<_ACEOF
 21816 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "$x11ext_lib"
 22031 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "$x11ext_lib"
 21817 _ACEOF
 22032 _ACEOF
 21818 
 22033 
 21819             else
 22034             else
 21820                 enable_x11_shared=no
 22035                 enable_x11_shared=no
 21884 
 22099 
 21885 
 22100 
 21886                 if test x$have_xcursor_h_hdr = xyes; then
 22101                 if test x$have_xcursor_h_hdr = xyes; then
 21887                     if test x$enable_x11_shared = xyes && test x$xcursor_lib != x ; then
 22102                     if test x$enable_x11_shared = xyes && test x$xcursor_lib != x ; then
 21888                         echo "-- dynamic libXcursor -> $xcursor_lib"
 22103                         echo "-- dynamic libXcursor -> $xcursor_lib"
 21889                         cat >>confdefs.h <<_ACEOF
 22104 
       
 22105 cat >>confdefs.h <<_ACEOF
 21890 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR "$xcursor_lib"
 22106 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR "$xcursor_lib"
 21891 _ACEOF
 22107 _ACEOF
 21892 
 22108 
 21893                         definitely_enable_video_x11_xcursor=yes
 22109                         definitely_enable_video_x11_xcursor=yes
 21894                     else
 22110                     else
 21963                         fi
 22179                         fi
 21964                     fi
 22180                     fi
 21965                 fi
 22181                 fi
 21966             fi
 22182             fi
 21967             if test x$definitely_enable_video_x11_xcursor = xyes; then
 22183             if test x$definitely_enable_video_x11_xcursor = xyes; then
 21968                 cat >>confdefs.h <<\_ACEOF
 22184 
       
 22185 cat >>confdefs.h <<\_ACEOF
 21969 #define SDL_VIDEO_DRIVER_X11_XCURSOR 1
 22186 #define SDL_VIDEO_DRIVER_X11_XCURSOR 1
 21970 _ACEOF
 22187 _ACEOF
 21971 
 22188 
 21972             fi
 22189             fi
 21973             # Check whether --enable-video-x11-xinerama was given.
 22190             # Check whether --enable-video-x11-xinerama was given.
 22032 
 22249 
 22033 
 22250 
 22034                 if test x$have_xinerama_h_hdr = xyes; then
 22251                 if test x$have_xinerama_h_hdr = xyes; then
 22035                     if test x$enable_x11_shared = xyes && test x$xinerama_lib != x ; then
 22252                     if test x$enable_x11_shared = xyes && test x$xinerama_lib != x ; then
 22036                         echo "-- dynamic libXinerama -> $xinerama_lib"
 22253                         echo "-- dynamic libXinerama -> $xinerama_lib"
 22037                         cat >>confdefs.h <<_ACEOF
 22254 
       
 22255 cat >>confdefs.h <<_ACEOF
 22038 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "$xinerama_lib"
 22256 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "$xinerama_lib"
 22039 _ACEOF
 22257 _ACEOF
 22040 
 22258 
 22041                         definitely_enable_video_x11_xinerama=yes
 22259                         definitely_enable_video_x11_xinerama=yes
 22042                     else
 22260                     else
 22111                         fi
 22329                         fi
 22112                     fi
 22330                     fi
 22113                 fi
 22331                 fi
 22114             fi
 22332             fi
 22115             if test x$definitely_enable_video_x11_xinerama = xyes; then
 22333             if test x$definitely_enable_video_x11_xinerama = xyes; then
 22116                 cat >>confdefs.h <<\_ACEOF
 22334 
       
 22335 cat >>confdefs.h <<\_ACEOF
 22117 #define SDL_VIDEO_DRIVER_X11_XINERAMA 1
 22336 #define SDL_VIDEO_DRIVER_X11_XINERAMA 1
 22118 _ACEOF
 22337 _ACEOF
 22119 
 22338 
 22120             fi
 22339             fi
 22121             # Check whether --enable-video-x11-xinput was given.
 22340             # Check whether --enable-video-x11-xinput was given.
 22180 
 22399 
 22181 
 22400 
 22182                 if test x$have_xinput_h_hdr = xyes; then
 22401                 if test x$have_xinput_h_hdr = xyes; then
 22183                     if test x$enable_x11_shared = xyes && test x$xinput_lib != x ; then
 22402                     if test x$enable_x11_shared = xyes && test x$xinput_lib != x ; then
 22184                         echo "-- dynamic libXi -> $xinput_lib"
 22403                         echo "-- dynamic libXi -> $xinput_lib"
 22185                         cat >>confdefs.h <<_ACEOF
 22404 
       
 22405 cat >>confdefs.h <<_ACEOF
 22186 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT "$xinput_lib"
 22406 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT "$xinput_lib"
 22187 _ACEOF
 22407 _ACEOF
 22188 
 22408 
 22189                         definitely_enable_video_x11_xinput=yes
 22409                         definitely_enable_video_x11_xinput=yes
 22190                     else
 22410                     else
 22259                         fi
 22479                         fi
 22260                     fi
 22480                     fi
 22261                 fi
 22481                 fi
 22262             fi
 22482             fi
 22263             if test x$definitely_enable_video_x11_xinput = xyes; then
 22483             if test x$definitely_enable_video_x11_xinput = xyes; then
 22264                 cat >>confdefs.h <<\_ACEOF
 22484 
       
 22485 cat >>confdefs.h <<\_ACEOF
 22265 #define SDL_VIDEO_DRIVER_X11_XINPUT 1
 22486 #define SDL_VIDEO_DRIVER_X11_XINPUT 1
 22266 _ACEOF
 22487 _ACEOF
 22267 
 22488 
 22268             fi
 22489             fi
 22269             # Check whether --enable-video-x11-xrandr was given.
 22490             # Check whether --enable-video-x11-xrandr was given.
 22328 
 22549 
 22329 
 22550 
 22330                 if test x$have_xrandr_h_hdr = xyes; then
 22551                 if test x$have_xrandr_h_hdr = xyes; then
 22331                     if test x$enable_x11_shared = xyes && test x$xrandr_lib != x ; then
 22552                     if test x$enable_x11_shared = xyes && test x$xrandr_lib != x ; then
 22332                         echo "-- dynamic libXrandr -> $xrandr_lib"
 22553                         echo "-- dynamic libXrandr -> $xrandr_lib"
 22333                         cat >>confdefs.h <<_ACEOF
 22554 
       
 22555 cat >>confdefs.h <<_ACEOF
 22334 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "$xrandr_lib"
 22556 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "$xrandr_lib"
 22335 _ACEOF
 22557 _ACEOF
 22336 
 22558 
 22337                         definitely_enable_video_x11_xrandr=yes
 22559                         definitely_enable_video_x11_xrandr=yes
 22338                     else
 22560                     else
 22407                         fi
 22629                         fi
 22408                     fi
 22630                     fi
 22409                 fi
 22631                 fi
 22410             fi
 22632             fi
 22411             if test x$definitely_enable_video_x11_xrandr = xyes; then
 22633             if test x$definitely_enable_video_x11_xrandr = xyes; then
 22412                 cat >>confdefs.h <<\_ACEOF
 22634 
       
 22635 cat >>confdefs.h <<\_ACEOF
 22413 #define SDL_VIDEO_DRIVER_X11_XRANDR 1
 22636 #define SDL_VIDEO_DRIVER_X11_XRANDR 1
 22414 _ACEOF
 22637 _ACEOF
 22415 
 22638 
 22416             fi
 22639             fi
 22417             # Check whether --enable-video-x11-scrnsaver was given.
 22640             # Check whether --enable-video-x11-scrnsaver was given.
 22475 
 22698 
 22476 
 22699 
 22477                 if test x$have_scrnsaver_h_hdr = xyes; then
 22700                 if test x$have_scrnsaver_h_hdr = xyes; then
 22478                     if test x$enable_x11_shared = xyes && test x$xss_lib != x ; then
 22701                     if test x$enable_x11_shared = xyes && test x$xss_lib != x ; then
 22479                         echo "-- dynamic libXss -> $xss_lib"
 22702                         echo "-- dynamic libXss -> $xss_lib"
 22480                         cat >>confdefs.h <<_ACEOF
 22703 
       
 22704 cat >>confdefs.h <<_ACEOF
 22481 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "$xss_lib"
 22705 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "$xss_lib"
 22482 _ACEOF
 22706 _ACEOF
 22483 
 22707 
 22484                         definitely_enable_video_x11_scrnsaver=yes
 22708                         definitely_enable_video_x11_scrnsaver=yes
 22485                     else
 22709                     else
 22554                         fi
 22778                         fi
 22555                     fi
 22779                     fi
 22556                 fi
 22780                 fi
 22557             fi
 22781             fi
 22558             if test x$definitely_enable_video_x11_scrnsaver = xyes; then
 22782             if test x$definitely_enable_video_x11_scrnsaver = xyes; then
 22559                 cat >>confdefs.h <<\_ACEOF
 22783 
       
 22784 cat >>confdefs.h <<\_ACEOF
 22560 #define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
 22785 #define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
 22561 _ACEOF
 22786 _ACEOF
 22562 
 22787 
 22563             fi
 22788             fi
 22564             # Check whether --enable-video-x11-xshape was given.
 22789             # Check whether --enable-video-x11-xshape was given.
 22620   have_shape_h_hdr=no
 22845   have_shape_h_hdr=no
 22621 fi
 22846 fi
 22622 
 22847 
 22623 
 22848 
 22624                 if test x$have_shape_h_hdr = xyes; then
 22849                 if test x$have_shape_h_hdr = xyes; then
 22625                     cat >>confdefs.h <<\_ACEOF
 22850 
       
 22851 cat >>confdefs.h <<\_ACEOF
 22626 #define SDL_VIDEO_DRIVER_X11_XSHAPE 1
 22852 #define SDL_VIDEO_DRIVER_X11_XSHAPE 1
 22627 _ACEOF
 22853 _ACEOF
 22628 
 22854 
 22629                 fi
 22855                 fi
 22630             fi
 22856             fi
 22690 
 22916 
 22691 
 22917 
 22692                 if test x$have_vm_h_hdr = xyes; then
 22918                 if test x$have_vm_h_hdr = xyes; then
 22693                     if test x$enable_x11_shared = xyes && test x$xvidmode_lib != x ; then
 22919                     if test x$enable_x11_shared = xyes && test x$xvidmode_lib != x ; then
 22694                         echo "-- dynamic libXxf86vm -> $xvidmode_lib"
 22920                         echo "-- dynamic libXxf86vm -> $xvidmode_lib"
 22695                         cat >>confdefs.h <<_ACEOF
 22921 
       
 22922 cat >>confdefs.h <<_ACEOF
 22696 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "$xvidmode_lib"
 22923 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "$xvidmode_lib"
 22697 _ACEOF
 22924 _ACEOF
 22698 
 22925 
 22699                         definitely_enable_video_x11_vm=yes
 22926                         definitely_enable_video_x11_vm=yes
 22700                     else
 22927                     else
 22769                         fi
 22996                         fi
 22770                     fi
 22997                     fi
 22771                 fi
 22998                 fi
 22772             fi
 22999             fi
 22773             if test x$definitely_enable_video_x11_vm = xyes; then
 23000             if test x$definitely_enable_video_x11_vm = xyes; then
 22774                 cat >>confdefs.h <<\_ACEOF
 23001 
       
 23002 cat >>confdefs.h <<\_ACEOF
 22775 #define SDL_VIDEO_DRIVER_X11_XVIDMODE 1
 23003 #define SDL_VIDEO_DRIVER_X11_XVIDMODE 1
 22776 _ACEOF
 23004 _ACEOF
 22777 
 23005 
 22778             fi
 23006             fi
 22779         fi
 23007         fi
 22781 }
 23009 }
 22782 
 23010 
 22783 CheckBWINDOW()
 23011 CheckBWINDOW()
 22784 {
 23012 {
 22785     if test x$enable_video = xyes; then
 23013     if test x$enable_video = xyes; then
 22786         cat >>confdefs.h <<\_ACEOF
 23014 
       
 23015 cat >>confdefs.h <<\_ACEOF
 22787 #define SDL_VIDEO_DRIVER_BWINDOW 1
 23016 #define SDL_VIDEO_DRIVER_BWINDOW 1
 22788 _ACEOF
 23017 _ACEOF
 22789 
 23018 
 22790         SOURCES="$SOURCES $srcdir/src/video/bwindow/*.cc"
 23019         SOURCES="$SOURCES $srcdir/src/video/bwindow/*.cc"
 22791         have_video=yes
 23020         have_video=yes
 22855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 23084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 22856         { echo "$as_me:$LINENO: result: $have_cocoa" >&5
 23085         { echo "$as_me:$LINENO: result: $have_cocoa" >&5
 22857 echo "${ECHO_T}$have_cocoa" >&6; }
 23086 echo "${ECHO_T}$have_cocoa" >&6; }
 22858         CFLAGS="$save_CFLAGS"
 23087         CFLAGS="$save_CFLAGS"
 22859         if test x$have_cocoa = xyes; then
 23088         if test x$have_cocoa = xyes; then
 22860             cat >>confdefs.h <<\_ACEOF
 23089 
       
 23090 cat >>confdefs.h <<\_ACEOF
 22861 #define SDL_VIDEO_DRIVER_COCOA 1
 23091 #define SDL_VIDEO_DRIVER_COCOA 1
 22862 _ACEOF
 23092 _ACEOF
 22863 
 23093 
 22864             SOURCES="$SOURCES $srcdir/src/video/cocoa/*.m"
 23094             SOURCES="$SOURCES $srcdir/src/video/cocoa/*.m"
 22865             have_video=yes
 23095             have_video=yes
 23140 else
 23370 else
 23141   enable_directfb_shared=yes
 23371   enable_directfb_shared=yes
 23142 fi
 23372 fi
 23143 
 23373 
 23144 
 23374 
 23145             cat >>confdefs.h <<\_ACEOF
 23375 
       
 23376 cat >>confdefs.h <<\_ACEOF
 23146 #define SDL_VIDEO_DRIVER_DIRECTFB 1
 23377 #define SDL_VIDEO_DRIVER_DIRECTFB 1
 23147 _ACEOF
 23378 _ACEOF
 23148 
 23379 
 23149             cat >>confdefs.h <<\_ACEOF
 23380 
       
 23381 cat >>confdefs.h <<\_ACEOF
 23150 #define SDL_VIDEO_RENDER_DIRECTFB 1
 23382 #define SDL_VIDEO_RENDER_DIRECTFB 1
 23151 _ACEOF
 23383 _ACEOF
 23152 
 23384 
 23153             SOURCES="$SOURCES $srcdir/src/video/directfb/*.c"
 23385             SOURCES="$SOURCES $srcdir/src/video/directfb/*.c"
 23154             EXTRA_CFLAGS="$EXTRA_CFLAGS $DIRECTFB_CFLAGS"
 23386             EXTRA_CFLAGS="$EXTRA_CFLAGS $DIRECTFB_CFLAGS"
 23167             fi
 23399             fi
 23168             if test x$have_loadso = xyes && \
 23400             if test x$have_loadso = xyes && \
 23169                test x$enable_directfb_shared = xyes && test x$directfb_lib != x; then
 23401                test x$enable_directfb_shared = xyes && test x$directfb_lib != x; then
 23170                 directfb_shared=yes
 23402                 directfb_shared=yes
 23171                 echo "-- $directfb_lib_spec -> $directfb_lib"
 23403                 echo "-- $directfb_lib_spec -> $directfb_lib"
 23172                 cat >>confdefs.h <<_ACEOF
 23404 
       
 23405 cat >>confdefs.h <<_ACEOF
 23173 #define SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC "$directfb_lib"
 23406 #define SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC "$directfb_lib"
 23174 _ACEOF
 23407 _ACEOF
 23175 
 23408 
 23176             else
 23409             else
 23177                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $DIRECTFB_LIBS"
 23410                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $DIRECTFB_LIBS"
 23249         fi
 23482         fi
 23250         { echo "$as_me:$LINENO: result: $fusionsound" >&5
 23483         { echo "$as_me:$LINENO: result: $fusionsound" >&5
 23251 echo "${ECHO_T}$fusionsound" >&6; }
 23484 echo "${ECHO_T}$fusionsound" >&6; }
 23252 
 23485 
 23253         if test x$fusionsound = xyes; then
 23486         if test x$fusionsound = xyes; then
 23254             cat >>confdefs.h <<\_ACEOF
 23487 
       
 23488 cat >>confdefs.h <<\_ACEOF
 23255 #define SDL_AUDIO_DRIVER_FUSIONSOUND 1
 23489 #define SDL_AUDIO_DRIVER_FUSIONSOUND 1
 23256 _ACEOF
 23490 _ACEOF
 23257 
 23491 
 23258             SOURCES="$SOURCES $srcdir/src/audio/fusionsound/*.c"
 23492             SOURCES="$SOURCES $srcdir/src/audio/fusionsound/*.c"
 23259             EXTRA_CFLAGS="$EXTRA_CFLAGS $FUSIONSOUND_CFLAGS"
 23493             EXTRA_CFLAGS="$EXTRA_CFLAGS $FUSIONSOUND_CFLAGS"
 23273                 { echo "$as_me:$LINENO: WARNING: You must have SDL_LoadObject() support for dynamic fusionsound loading" >&5
 23507                 { echo "$as_me:$LINENO: WARNING: You must have SDL_LoadObject() support for dynamic fusionsound loading" >&5
 23274 echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic fusionsound loading" >&2;}
 23508 echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic fusionsound loading" >&2;}
 23275             fi
 23509             fi
 23276             if test x$have_loadso = xyes && \
 23510             if test x$have_loadso = xyes && \
 23277                test x$enable_fusionsound_shared = xyes; then
 23511                test x$enable_fusionsound_shared = xyes; then
 23278                 cat >>confdefs.h <<_ACEOF
 23512 
       
 23513 cat >>confdefs.h <<_ACEOF
 23279 #define SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC "libfusionsound.so"
 23514 #define SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC "libfusionsound.so"
 23280 _ACEOF
 23515 _ACEOF
 23281 
 23516 
 23282                 fusionsound_shared=yes
 23517                 fusionsound_shared=yes
 23283             else
 23518             else
 23299 else
 23534 else
 23300   enable_video_dummy=yes
 23535   enable_video_dummy=yes
 23301 fi
 23536 fi
 23302 
 23537 
 23303     if test x$enable_video_dummy = xyes; then
 23538     if test x$enable_video_dummy = xyes; then
 23304         cat >>confdefs.h <<\_ACEOF
 23539 
       
 23540 cat >>confdefs.h <<\_ACEOF
 23305 #define SDL_VIDEO_DRIVER_DUMMY 1
 23541 #define SDL_VIDEO_DRIVER_DUMMY 1
 23306 _ACEOF
 23542 _ACEOF
 23307 
 23543 
 23308         SOURCES="$SOURCES $srcdir/src/video/dummy/*.c"
 23544         SOURCES="$SOURCES $srcdir/src/video/dummy/*.c"
 23309         have_video=yes
 23545         have_video=yes
 23372 
 23608 
 23373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 23374         { echo "$as_me:$LINENO: result: $video_opengl" >&5
 23610         { echo "$as_me:$LINENO: result: $video_opengl" >&5
 23375 echo "${ECHO_T}$video_opengl" >&6; }
 23611 echo "${ECHO_T}$video_opengl" >&6; }
 23376         if test x$video_opengl = xyes; then
 23612         if test x$video_opengl = xyes; then
 23377             cat >>confdefs.h <<\_ACEOF
 23613 
       
 23614 cat >>confdefs.h <<\_ACEOF
 23378 #define SDL_VIDEO_OPENGL 1
 23615 #define SDL_VIDEO_OPENGL 1
 23379 _ACEOF
 23616 _ACEOF
 23380 
 23617 
 23381             cat >>confdefs.h <<\_ACEOF
 23618 
       
 23619 cat >>confdefs.h <<\_ACEOF
 23382 #define SDL_VIDEO_OPENGL_GLX 1
 23620 #define SDL_VIDEO_OPENGL_GLX 1
 23383 _ACEOF
 23621 _ACEOF
 23384 
 23622 
 23385             cat >>confdefs.h <<\_ACEOF
 23623 
       
 23624 cat >>confdefs.h <<\_ACEOF
 23386 #define SDL_VIDEO_RENDER_OGL 1
 23625 #define SDL_VIDEO_RENDER_OGL 1
 23387 _ACEOF
 23626 _ACEOF
 23388 
 23627 
 23389         fi
 23628         fi
 23390     fi
 23629     fi
 23391 }
 23630 }
 23392 
 23631 
 23393 CheckWINDOWSGL()
 23632 CheckWINDOWSGL()
 23394 {
 23633 {
 23395     if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
 23634     if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
 23396         cat >>confdefs.h <<\_ACEOF
 23635 
       
 23636 cat >>confdefs.h <<\_ACEOF
 23397 #define SDL_VIDEO_OPENGL 1
 23637 #define SDL_VIDEO_OPENGL 1
 23398 _ACEOF
 23638 _ACEOF
 23399 
 23639 
 23400         cat >>confdefs.h <<\_ACEOF
 23640 
       
 23641 cat >>confdefs.h <<\_ACEOF
 23401 #define SDL_VIDEO_OPENGL_WGL 1
 23642 #define SDL_VIDEO_OPENGL_WGL 1
 23402 _ACEOF
 23643 _ACEOF
 23403 
 23644 
 23404         cat >>confdefs.h <<\_ACEOF
 23645 
       
 23646 cat >>confdefs.h <<\_ACEOF
 23405 #define SDL_VIDEO_RENDER_OGL 1
 23647 #define SDL_VIDEO_RENDER_OGL 1
 23406 _ACEOF
 23648 _ACEOF
 23407 
 23649 
 23408     fi
 23650     fi
 23409 }
 23651 }
 23410 
 23652 
 23411 CheckBeGL()
 23653 CheckBeGL()
 23412 {
 23654 {
 23413     if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
 23655     if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
 23414         cat >>confdefs.h <<\_ACEOF
 23656 
       
 23657 cat >>confdefs.h <<\_ACEOF
 23415 #define SDL_VIDEO_OPENGL 1
 23658 #define SDL_VIDEO_OPENGL 1
 23416 _ACEOF
 23659 _ACEOF
 23417 
 23660 
 23418         cat >>confdefs.h <<\_ACEOF
 23661 
       
 23662 cat >>confdefs.h <<\_ACEOF
 23419 #define SDL_VIDEO_OPENGL_BGL 1
 23663 #define SDL_VIDEO_OPENGL_BGL 1
 23420 _ACEOF
 23664 _ACEOF
 23421 
 23665 
 23422         cat >>confdefs.h <<\_ACEOF
 23666 
       
 23667 cat >>confdefs.h <<\_ACEOF
 23423 #define SDL_VIDEO_RENDER_OGL 1
 23668 #define SDL_VIDEO_RENDER_OGL 1
 23424 _ACEOF
 23669 _ACEOF
 23425 
 23670 
 23426         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lGL"
 23671         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lGL"
 23427     fi
 23672     fi
 23428 }
 23673 }
 23429 
 23674 
 23430 CheckMacGL()
 23675 CheckMacGL()
 23431 {
 23676 {
 23432     if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
 23677     if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
 23433         cat >>confdefs.h <<\_ACEOF
 23678 
       
 23679 cat >>confdefs.h <<\_ACEOF
 23434 #define SDL_VIDEO_OPENGL 1
 23680 #define SDL_VIDEO_OPENGL 1
 23435 _ACEOF
 23681 _ACEOF
 23436 
 23682 
 23437         cat >>confdefs.h <<\_ACEOF
 23683 
       
 23684 cat >>confdefs.h <<\_ACEOF
 23438 #define SDL_VIDEO_OPENGL_CGL 1
 23685 #define SDL_VIDEO_OPENGL_CGL 1
 23439 _ACEOF
 23686 _ACEOF
 23440 
 23687 
 23441         cat >>confdefs.h <<\_ACEOF
 23688 
       
 23689 cat >>confdefs.h <<\_ACEOF
 23442 #define SDL_VIDEO_RENDER_OGL 1
 23690 #define SDL_VIDEO_RENDER_OGL 1
 23443 _ACEOF
 23691 _ACEOF
 23444 
 23692 
 23445         case "$host" in
 23693         case "$host" in
 23446             *-*-darwin*)
 23694             *-*-darwin*)
 23514 
 23762 
 23515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 23763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 23516         { echo "$as_me:$LINENO: result: $use_input_events" >&5
 23764         { echo "$as_me:$LINENO: result: $use_input_events" >&5
 23517 echo "${ECHO_T}$use_input_events" >&6; }
 23765 echo "${ECHO_T}$use_input_events" >&6; }
 23518         if test x$use_input_events = xyes; then
 23766         if test x$use_input_events = xyes; then
 23519             cat >>confdefs.h <<\_ACEOF
 23767 
       
 23768 cat >>confdefs.h <<\_ACEOF
 23520 #define SDL_INPUT_LINUXEV 1
 23769 #define SDL_INPUT_LINUXEV 1
 23521 _ACEOF
 23770 _ACEOF
 23522 
 23771 
 23523         fi
 23772         fi
 23524     fi
 23773     fi
 23584 
 23833 
 23585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 23834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 23586         { echo "$as_me:$LINENO: result: $enable_input_tslib" >&5
 23835         { echo "$as_me:$LINENO: result: $enable_input_tslib" >&5
 23587 echo "${ECHO_T}$enable_input_tslib" >&6; }
 23836 echo "${ECHO_T}$enable_input_tslib" >&6; }
 23588         if test x$enable_input_tslib = xyes; then
 23837         if test x$enable_input_tslib = xyes; then
 23589             cat >>confdefs.h <<\_ACEOF
 23838 
       
 23839 cat >>confdefs.h <<\_ACEOF
 23590 #define SDL_INPUT_TSLIB 1
 23840 #define SDL_INPUT_TSLIB 1
 23591 _ACEOF
 23841 _ACEOF
 23592 
 23842 
 23593             EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lts"
 23843             EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lts"
 23594         fi
 23844         fi
 23722         # Restore the compiler flags and libraries
 23972         # Restore the compiler flags and libraries
 23723         CFLAGS="$ac_save_cflags"; LIBS="$ac_save_libs"
 23973         CFLAGS="$ac_save_cflags"; LIBS="$ac_save_libs"
 23724 
 23974 
 23725         # Do futher testing if we have pthread support...
 23975         # Do futher testing if we have pthread support...
 23726         if test x$use_pthreads = xyes; then
 23976         if test x$use_pthreads = xyes; then
 23727             cat >>confdefs.h <<\_ACEOF
 23977 
       
 23978 cat >>confdefs.h <<\_ACEOF
 23728 #define SDL_THREAD_PTHREAD 1
 23979 #define SDL_THREAD_PTHREAD 1
 23729 _ACEOF
 23980 _ACEOF
 23730 
 23981 
 23731             EXTRA_CFLAGS="$EXTRA_CFLAGS $pthread_cflags"
 23982             EXTRA_CFLAGS="$EXTRA_CFLAGS $pthread_cflags"
 23732             EXTRA_LDFLAGS="$EXTRA_LDFLAGS $pthread_lib"
 23983             EXTRA_LDFLAGS="$EXTRA_LDFLAGS $pthread_lib"
 23780 	 test -z "$ac_c_werror_flag" ||
 24031 	 test -z "$ac_c_werror_flag" ||
 23781 	 test ! -s conftest.err
 24032 	 test ! -s conftest.err
 23782        } && test -s conftest.$ac_objext; then
 24033        } && test -s conftest.$ac_objext; then
 23783 
 24034 
 23784                 has_recursive_mutexes=yes
 24035                 has_recursive_mutexes=yes
 23785                 cat >>confdefs.h <<\_ACEOF
 24036 
       
 24037 cat >>confdefs.h <<\_ACEOF
 23786 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
 24038 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
 23787 _ACEOF
 24039 _ACEOF
 23788 
 24040 
 23789 
 24041 
 23790 else
 24042 else
 23834 	 test -z "$ac_c_werror_flag" ||
 24086 	 test -z "$ac_c_werror_flag" ||
 23835 	 test ! -s conftest.err
 24087 	 test ! -s conftest.err
 23836        } && test -s conftest.$ac_objext; then
 24088        } && test -s conftest.$ac_objext; then
 23837 
 24089 
 23838                 has_recursive_mutexes=yes
 24090                 has_recursive_mutexes=yes
 23839                 cat >>confdefs.h <<\_ACEOF
 24091 
       
 24092 cat >>confdefs.h <<\_ACEOF
 23840 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP 1
 24093 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP 1
 23841 _ACEOF
 24094 _ACEOF
 23842 
 24095 
 23843 
 24096 
 23844 else
 24097 else
 24582 if test $ac_cv_header_dinput_h = yes; then
 24835 if test $ac_cv_header_dinput_h = yes; then
 24583   have_dinput=yes
 24836   have_dinput=yes
 24584 fi
 24837 fi
 24585 
 24838 
 24586 
 24839 
       
 24840         if test "${ac_cv_header_xaudio2_h+set}" = set; then
       
 24841   { echo "$as_me:$LINENO: checking for xaudio2.h" >&5
       
 24842 echo $ECHO_N "checking for xaudio2.h... $ECHO_C" >&6; }
       
 24843 if test "${ac_cv_header_xaudio2_h+set}" = set; then
       
 24844   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 24845 fi
       
 24846 { echo "$as_me:$LINENO: result: $ac_cv_header_xaudio2_h" >&5
       
 24847 echo "${ECHO_T}$ac_cv_header_xaudio2_h" >&6; }
       
 24848 else
       
 24849   # Is the header compilable?
       
 24850 { echo "$as_me:$LINENO: checking xaudio2.h usability" >&5
       
 24851 echo $ECHO_N "checking xaudio2.h usability... $ECHO_C" >&6; }
       
 24852 cat >conftest.$ac_ext <<_ACEOF
       
 24853 /* confdefs.h.  */
       
 24854 _ACEOF
       
 24855 cat confdefs.h >>conftest.$ac_ext
       
 24856 cat >>conftest.$ac_ext <<_ACEOF
       
 24857 /* end confdefs.h.  */
       
 24858 $ac_includes_default
       
 24859 #include <xaudio2.h>
       
 24860 _ACEOF
       
 24861 rm -f conftest.$ac_objext
       
 24862 if { (ac_try="$ac_compile"
       
 24863 case "(($ac_try" in
       
 24864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 24865   *) ac_try_echo=$ac_try;;
       
 24866 esac
       
 24867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 24868   (eval "$ac_compile") 2>conftest.er1
       
 24869   ac_status=$?
       
 24870   grep -v '^ *+' conftest.er1 >conftest.err
       
 24871   rm -f conftest.er1
       
 24872   cat conftest.err >&5
       
 24873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 24874   (exit $ac_status); } && {
       
 24875 	 test -z "$ac_c_werror_flag" ||
       
 24876 	 test ! -s conftest.err
       
 24877        } && test -s conftest.$ac_objext; then
       
 24878   ac_header_compiler=yes
       
 24879 else
       
 24880   echo "$as_me: failed program was:" >&5
       
 24881 sed 's/^/| /' conftest.$ac_ext >&5
       
 24882 
       
 24883 	ac_header_compiler=no
       
 24884 fi
       
 24885 
       
 24886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 24887 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
       
 24888 echo "${ECHO_T}$ac_header_compiler" >&6; }
       
 24889 
       
 24890 # Is the header present?
       
 24891 { echo "$as_me:$LINENO: checking xaudio2.h presence" >&5
       
 24892 echo $ECHO_N "checking xaudio2.h presence... $ECHO_C" >&6; }
       
 24893 cat >conftest.$ac_ext <<_ACEOF
       
 24894 /* confdefs.h.  */
       
 24895 _ACEOF
       
 24896 cat confdefs.h >>conftest.$ac_ext
       
 24897 cat >>conftest.$ac_ext <<_ACEOF
       
 24898 /* end confdefs.h.  */
       
 24899 #include <xaudio2.h>
       
 24900 _ACEOF
       
 24901 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
 24902 case "(($ac_try" in
       
 24903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 24904   *) ac_try_echo=$ac_try;;
       
 24905 esac
       
 24906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 24907   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
 24908   ac_status=$?
       
 24909   grep -v '^ *+' conftest.er1 >conftest.err
       
 24910   rm -f conftest.er1
       
 24911   cat conftest.err >&5
       
 24912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 24913   (exit $ac_status); } >/dev/null && {
       
 24914 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
 24915 	 test ! -s conftest.err
       
 24916        }; then
       
 24917   ac_header_preproc=yes
       
 24918 else
       
 24919   echo "$as_me: failed program was:" >&5
       
 24920 sed 's/^/| /' conftest.$ac_ext >&5
       
 24921 
       
 24922   ac_header_preproc=no
       
 24923 fi
       
 24924 
       
 24925 rm -f conftest.err conftest.$ac_ext
       
 24926 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
       
 24927 echo "${ECHO_T}$ac_header_preproc" >&6; }
       
 24928 
       
 24929 # So?  What about this header?
       
 24930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
       
 24931   yes:no: )
       
 24932     { echo "$as_me:$LINENO: WARNING: xaudio2.h: accepted by the compiler, rejected by the preprocessor!" >&5
       
 24933 echo "$as_me: WARNING: xaudio2.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
 24934     { echo "$as_me:$LINENO: WARNING: xaudio2.h: proceeding with the compiler's result" >&5
       
 24935 echo "$as_me: WARNING: xaudio2.h: proceeding with the compiler's result" >&2;}
       
 24936     ac_header_preproc=yes
       
 24937     ;;
       
 24938   no:yes:* )
       
 24939     { echo "$as_me:$LINENO: WARNING: xaudio2.h: present but cannot be compiled" >&5
       
 24940 echo "$as_me: WARNING: xaudio2.h: present but cannot be compiled" >&2;}
       
 24941     { echo "$as_me:$LINENO: WARNING: xaudio2.h:     check for missing prerequisite headers?" >&5
       
 24942 echo "$as_me: WARNING: xaudio2.h:     check for missing prerequisite headers?" >&2;}
       
 24943     { echo "$as_me:$LINENO: WARNING: xaudio2.h: see the Autoconf documentation" >&5
       
 24944 echo "$as_me: WARNING: xaudio2.h: see the Autoconf documentation" >&2;}
       
 24945     { echo "$as_me:$LINENO: WARNING: xaudio2.h:     section \"Present But Cannot Be Compiled\"" >&5
       
 24946 echo "$as_me: WARNING: xaudio2.h:     section \"Present But Cannot Be Compiled\"" >&2;}
       
 24947     { echo "$as_me:$LINENO: WARNING: xaudio2.h: proceeding with the preprocessor's result" >&5
       
 24948 echo "$as_me: WARNING: xaudio2.h: proceeding with the preprocessor's result" >&2;}
       
 24949     { echo "$as_me:$LINENO: WARNING: xaudio2.h: in the future, the compiler will take precedence" >&5
       
 24950 echo "$as_me: WARNING: xaudio2.h: in the future, the compiler will take precedence" >&2;}
       
 24951 
       
 24952     ;;
       
 24953 esac
       
 24954 { echo "$as_me:$LINENO: checking for xaudio2.h" >&5
       
 24955 echo $ECHO_N "checking for xaudio2.h... $ECHO_C" >&6; }
       
 24956 if test "${ac_cv_header_xaudio2_h+set}" = set; then
       
 24957   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 24958 else
       
 24959   ac_cv_header_xaudio2_h=$ac_header_preproc
       
 24960 fi
       
 24961 { echo "$as_me:$LINENO: result: $ac_cv_header_xaudio2_h" >&5
       
 24962 echo "${ECHO_T}$ac_cv_header_xaudio2_h" >&6; }
       
 24963 
       
 24964 fi
       
 24965 if test $ac_cv_header_xaudio2_h = yes; then
       
 24966   have_xaudio2=yes
       
 24967 fi
       
 24968 
       
 24969 
 24587     fi
 24970     fi
 24588 }
 24971 }
 24589 
 24972 
 24590 CheckDLOPEN()
 24973 CheckDLOPEN()
 24591 {
 24974 {
 24848 
 25231 
 24849 fi
 25232 fi
 24850 
 25233 
 24851 fi
 25234 fi
 24852 
 25235 
 24853             cat >>confdefs.h <<\_ACEOF
 25236 
       
 25237 cat >>confdefs.h <<\_ACEOF
 24854 #define SDL_LOADSO_DLOPEN 1
 25238 #define SDL_LOADSO_DLOPEN 1
 24855 _ACEOF
 25239 _ACEOF
 24856 
 25240 
 24857             SOURCES="$SOURCES $srcdir/src/loadso/dlopen/*.c"
 25241             SOURCES="$SOURCES $srcdir/src/loadso/dlopen/*.c"
 24858             have_loadso=yes
 25242             have_loadso=yes
 25791 
 26175 
 25792 fi
 26176 fi
 25793 
 26177 
 25794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 26178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 25795             if test x$have_machine_joystick = xyes; then
 26179             if test x$have_machine_joystick = xyes; then
 25796                 cat >>confdefs.h <<\_ACEOF
 26180 
       
 26181 cat >>confdefs.h <<\_ACEOF
 25797 #define SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H 1
 26182 #define SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H 1
 25798 _ACEOF
 26183 _ACEOF
 25799 
 26184 
 25800             fi
 26185             fi
 25801             { echo "$as_me:$LINENO: result: $have_machine_joystick" >&5
 26186             { echo "$as_me:$LINENO: result: $have_machine_joystick" >&5
 25802 echo "${ECHO_T}$have_machine_joystick" >&6; }
 26187 echo "${ECHO_T}$have_machine_joystick" >&6; }
 25803 
 26188 
 25804             cat >>confdefs.h <<\_ACEOF
 26189 
       
 26190 cat >>confdefs.h <<\_ACEOF
 25805 #define SDL_JOYSTICK_USBHID 1
 26191 #define SDL_JOYSTICK_USBHID 1
 25806 _ACEOF
 26192 _ACEOF
 25807 
 26193 
 25808             SOURCES="$SOURCES $srcdir/src/joystick/bsd/*.c"
 26194             SOURCES="$SOURCES $srcdir/src/joystick/bsd/*.c"
 25809             EXTRA_CFLAGS="$EXTRA_CFLAGS $USB_CFLAGS"
 26195             EXTRA_CFLAGS="$EXTRA_CFLAGS $USB_CFLAGS"
 25888 if test $ac_cv_lib_rt_clock_gettime = yes; then
 26274 if test $ac_cv_lib_rt_clock_gettime = yes; then
 25889   have_clock_gettime=yes
 26275   have_clock_gettime=yes
 25890 fi
 26276 fi
 25891 
 26277 
 25892         if test x$have_clock_gettime = xyes; then
 26278         if test x$have_clock_gettime = xyes; then
 25893             cat >>confdefs.h <<\_ACEOF
 26279 
       
 26280 cat >>confdefs.h <<\_ACEOF
 25894 #define HAVE_CLOCK_GETTIME 1
 26281 #define HAVE_CLOCK_GETTIME 1
 25895 _ACEOF
 26282 _ACEOF
 25896 
 26283 
 25897             EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lrt"
 26284             EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lrt"
 25898         else
 26285         else
 25960 if test $ac_cv_lib_c_clock_gettime = yes; then
 26347 if test $ac_cv_lib_c_clock_gettime = yes; then
 25961   have_clock_gettime=yes
 26348   have_clock_gettime=yes
 25962 fi
 26349 fi
 25963 
 26350 
 25964             if test x$have_clock_gettime = xyes; then
 26351             if test x$have_clock_gettime = xyes; then
 25965                cat >>confdefs.h <<\_ACEOF
 26352 
       
 26353 cat >>confdefs.h <<\_ACEOF
 25966 #define HAVE_CLOCK_GETTIME 1
 26354 #define HAVE_CLOCK_GETTIME 1
 25967 _ACEOF
 26355 _ACEOF
 25968 
 26356 
 25969                EXTRA_LDFLAGS="$EXTRA_LDFLAGS"
 26357                EXTRA_LDFLAGS="$EXTRA_LDFLAGS"
 25970             fi
 26358             fi
 26164         CheckRPATH
 26552         CheckRPATH
 26165         # Set up files for the audio library
 26553         # Set up files for the audio library
 26166         if test x$enable_audio = xyes; then
 26554         if test x$enable_audio = xyes; then
 26167           case $ARCH in
 26555           case $ARCH in
 26168             sysv5|solaris|hpux)
 26556             sysv5|solaris|hpux)
 26169                 cat >>confdefs.h <<\_ACEOF
 26557 
       
 26558 cat >>confdefs.h <<\_ACEOF
 26170 #define SDL_AUDIO_DRIVER_SUNAUDIO 1
 26559 #define SDL_AUDIO_DRIVER_SUNAUDIO 1
 26171 _ACEOF
 26560 _ACEOF
 26172 
 26561 
 26173                 SOURCES="$SOURCES $srcdir/src/audio/sun/*.c"
 26562                 SOURCES="$SOURCES $srcdir/src/audio/sun/*.c"
 26174                 have_audio=yes
 26563                 have_audio=yes
 26175             ;;
 26564             ;;
 26176             netbsd|openbsd)
 26565             netbsd|openbsd)
 26177                 cat >>confdefs.h <<\_ACEOF
 26566 
       
 26567 cat >>confdefs.h <<\_ACEOF
 26178 #define SDL_AUDIO_DRIVER_BSD 1
 26568 #define SDL_AUDIO_DRIVER_BSD 1
 26179 _ACEOF
 26569 _ACEOF
 26180 
 26570 
 26181                 SOURCES="$SOURCES $srcdir/src/audio/bsd/*.c"
 26571                 SOURCES="$SOURCES $srcdir/src/audio/bsd/*.c"
 26182                 have_audio=yes
 26572                 have_audio=yes
 26183             ;;
 26573             ;;
 26184             aix)
 26574             aix)
 26185                 cat >>confdefs.h <<\_ACEOF
 26575 
       
 26576 cat >>confdefs.h <<\_ACEOF
 26186 #define SDL_AUDIO_DRIVER_PAUDIO 1
 26577 #define SDL_AUDIO_DRIVER_PAUDIO 1
 26187 _ACEOF
 26578 _ACEOF
 26188 
 26579 
 26189                 SOURCES="$SOURCES $srcdir/src/audio/paudio/*.c"
 26580                 SOURCES="$SOURCES $srcdir/src/audio/paudio/*.c"
 26190                 have_audio=yes
 26581                 have_audio=yes
 26193         fi
 26584         fi
 26194         # Set up files for the joystick library
 26585         # Set up files for the joystick library
 26195         if test x$enable_joystick = xyes; then
 26586         if test x$enable_joystick = xyes; then
 26196           case $ARCH in
 26587           case $ARCH in
 26197             linux)
 26588             linux)
 26198                 cat >>confdefs.h <<\_ACEOF
 26589 
       
 26590 cat >>confdefs.h <<\_ACEOF
 26199 #define SDL_JOYSTICK_LINUX 1
 26591 #define SDL_JOYSTICK_LINUX 1
 26200 _ACEOF
 26592 _ACEOF
 26201 
 26593 
 26202                 SOURCES="$SOURCES $srcdir/src/joystick/linux/*.c"
 26594                 SOURCES="$SOURCES $srcdir/src/joystick/linux/*.c"
 26203                 have_joystick=yes
 26595                 have_joystick=yes
 26207         # Set up files for the haptic library
 26599         # Set up files for the haptic library
 26208         if test x$enable_haptic = xyes; then
 26600         if test x$enable_haptic = xyes; then
 26209            if test x$use_input_events = xyes; then
 26601            if test x$use_input_events = xyes; then
 26210              case $ARCH in
 26602              case $ARCH in
 26211                linux)
 26603                linux)
 26212                    cat >>confdefs.h <<\_ACEOF
 26604 
       
 26605 cat >>confdefs.h <<\_ACEOF
 26213 #define SDL_HAPTIC_LINUX 1
 26606 #define SDL_HAPTIC_LINUX 1
 26214 _ACEOF
 26607 _ACEOF
 26215 
 26608 
 26216                    SOURCES="$SOURCES $srcdir/src/haptic/linux/*.c"
 26609                    SOURCES="$SOURCES $srcdir/src/haptic/linux/*.c"
 26217                    have_haptic=yes
 26610                    have_haptic=yes
 26221         fi
 26614         fi
 26222         # Set up files for the power library
 26615         # Set up files for the power library
 26223         if test x$enable_power = xyes; then
 26616         if test x$enable_power = xyes; then
 26224              case $ARCH in
 26617              case $ARCH in
 26225                linux)
 26618                linux)
 26226                    cat >>confdefs.h <<\_ACEOF
 26619 
       
 26620 cat >>confdefs.h <<\_ACEOF
 26227 #define SDL_POWER_LINUX 1
 26621 #define SDL_POWER_LINUX 1
 26228 _ACEOF
 26622 _ACEOF
 26229 
 26623 
 26230                    SOURCES="$SOURCES $srcdir/src/power/linux/*.c"
 26624                    SOURCES="$SOURCES $srcdir/src/power/linux/*.c"
 26231                    have_power=yes
 26625                    have_power=yes
 26232                ;;
 26626                ;;
 26233              esac
 26627              esac
 26234         fi
 26628         fi
 26235         # Set up files for the timer library
 26629         # Set up files for the timer library
 26236         if test x$enable_timers = xyes; then
 26630         if test x$enable_timers = xyes; then
 26237             cat >>confdefs.h <<\_ACEOF
 26631 
       
 26632 cat >>confdefs.h <<\_ACEOF
 26238 #define SDL_TIMER_UNIX 1
 26633 #define SDL_TIMER_UNIX 1
 26239 _ACEOF
 26634 _ACEOF
 26240 
 26635 
 26241             SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
 26636             SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
 26242             have_timers=yes
 26637             have_timers=yes
 26247         CheckDummyVideo
 26642         CheckDummyVideo
 26248         CheckDiskAudio
 26643         CheckDiskAudio
 26249         CheckDummyAudio
 26644         CheckDummyAudio
 26250         CheckWINDOWS
 26645         CheckWINDOWS
 26251         if test x$enable_video = xyes; then
 26646         if test x$enable_video = xyes; then
 26252             cat >>confdefs.h <<\_ACEOF
 26647 
       
 26648 cat >>confdefs.h <<\_ACEOF
 26253 #define SDL_VIDEO_DRIVER_WINDOWS 1
 26649 #define SDL_VIDEO_DRIVER_WINDOWS 1
 26254 _ACEOF
 26650 _ACEOF
 26255 
 26651 
 26256             SOURCES="$SOURCES $srcdir/src/video/windows/*.c"
 26652             SOURCES="$SOURCES $srcdir/src/video/windows/*.c"
 26257             have_video=yes
 26653             have_video=yes
 26262   enable_render_d3d=yes
 26658   enable_render_d3d=yes
 26263 fi
 26659 fi
 26264 
 26660 
 26265             enable_render_d3d=no
 26661             enable_render_d3d=no
 26266             if test x$enable_render_d3d = xyes -a x$have_d3d = xyes; then
 26662             if test x$enable_render_d3d = xyes -a x$have_d3d = xyes; then
 26267                 cat >>confdefs.h <<\_ACEOF
 26663 
       
 26664 cat >>confdefs.h <<\_ACEOF
 26268 #define SDL_VIDEO_RENDER_D3D 1
 26665 #define SDL_VIDEO_RENDER_D3D 1
 26269 _ACEOF
 26666 _ACEOF
 26270 
 26667 
 26271             fi
 26668             fi
 26272         fi
 26669         fi
 26273         # Set up files for the audio library
 26670         # Set up files for the audio library
 26274         if test x$enable_audio = xyes; then
 26671         if test x$enable_audio = xyes; then
 26275             cat >>confdefs.h <<\_ACEOF
 26672 
 26276 #define SDL_AUDIO_DRIVER_WINWAVEOUT 1
 26673 cat >>confdefs.h <<\_ACEOF
 26277 _ACEOF
 26674 #define SDL_AUDIO_DRIVER_WINMM 1
 26278 
 26675 _ACEOF
 26279             SOURCES="$SOURCES $srcdir/src/audio/windib/*.c"
 26676 
       
 26677             SOURCES="$SOURCES $srcdir/src/audio/winmm/*.c"
 26280             if test x$have_dsound = xyes; then
 26678             if test x$have_dsound = xyes; then
 26281                 cat >>confdefs.h <<\_ACEOF
 26679 
       
 26680 cat >>confdefs.h <<\_ACEOF
 26282 #define SDL_AUDIO_DRIVER_DSOUND 1
 26681 #define SDL_AUDIO_DRIVER_DSOUND 1
 26283 _ACEOF
 26682 _ACEOF
 26284 
 26683 
 26285                 SOURCES="$SOURCES $srcdir/src/audio/windx5/*.c"
 26684                 SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
       
 26685             fi
       
 26686             if test x$have_xaudio2 = xyes; then
       
 26687 
       
 26688 cat >>confdefs.h <<\_ACEOF
       
 26689 #define SDL_AUDIO_DRIVER_XAUDIO2 1
       
 26690 _ACEOF
       
 26691 
       
 26692                 SOURCES="$SOURCES $srcdir/src/audio/xaudio2/*.c"
 26286             fi
 26693             fi
 26287             have_audio=yes
 26694             have_audio=yes
 26288         fi
 26695         fi
 26289         # Set up dummy files for the joystick for now
 26696         # Set up dummy files for the joystick for now
 26290         if test x$enable_joystick = xyes; then
 26697         if test x$enable_joystick = xyes; then
 26291             cat >>confdefs.h <<\_ACEOF
 26698 
       
 26699 cat >>confdefs.h <<\_ACEOF
 26292 #define SDL_JOYSTICK_DUMMY 1
 26700 #define SDL_JOYSTICK_DUMMY 1
 26293 _ACEOF
 26701 _ACEOF
 26294 
 26702 
 26295             SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"
 26703             SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"
 26296             have_joystick=yes
 26704             have_joystick=yes
 26297         fi
 26705         fi
 26298         # Set up files for the thread library
 26706         # Set up files for the thread library
 26299         if test x$enable_threads = xyes; then
 26707         if test x$enable_threads = xyes; then
 26300             cat >>confdefs.h <<\_ACEOF
 26708 
       
 26709 cat >>confdefs.h <<\_ACEOF
 26301 #define SDL_THREAD_WINDOWS 1
 26710 #define SDL_THREAD_WINDOWS 1
 26302 _ACEOF
 26711 _ACEOF
 26303 
 26712 
 26304             SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_sysmutex.c"
 26713             SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_sysmutex.c"
 26305             SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_syssem.c"
 26714             SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_syssem.c"
 26307             SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
 26716             SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
 26308             have_threads=yes
 26717             have_threads=yes
 26309         fi
 26718         fi
 26310         # Set up files for the timer library
 26719         # Set up files for the timer library
 26311         if test x$enable_timers = xyes; then
 26720         if test x$enable_timers = xyes; then
 26312             cat >>confdefs.h <<\_ACEOF
 26721 
       
 26722 cat >>confdefs.h <<\_ACEOF
 26313 #define SDL_TIMER_WINCE 1
 26723 #define SDL_TIMER_WINCE 1
 26314 _ACEOF
 26724 _ACEOF
 26315 
 26725 
 26316             SOURCES="$SOURCES $srcdir/src/timer/wince/*.c"
 26726             SOURCES="$SOURCES $srcdir/src/timer/wince/*.c"
 26317             have_timers=yes
 26727             have_timers=yes
 26318         fi
 26728         fi
 26319         # Set up files for the shared object loading library
 26729         # Set up files for the shared object loading library
 26320         if test x$enable_loadso = xyes; then
 26730         if test x$enable_loadso = xyes; then
 26321             cat >>confdefs.h <<\_ACEOF
 26731 
       
 26732 cat >>confdefs.h <<\_ACEOF
 26322 #define SDL_LOADSO_WINDOWS 1
 26733 #define SDL_LOADSO_WINDOWS 1
 26323 _ACEOF
 26734 _ACEOF
 26324 
 26735 
 26325             SOURCES="$SOURCES $srcdir/src/loadso/windows/*.c"
 26736             SOURCES="$SOURCES $srcdir/src/loadso/windows/*.c"
 26326             have_loadso=yes
 26737             have_loadso=yes
 26363         # Set up the core platform files
 26774         # Set up the core platform files
 26364         SOURCES="$SOURCES $srcdir/src/core/windows/*.c"
 26775         SOURCES="$SOURCES $srcdir/src/core/windows/*.c"
 26365 
 26776 
 26366         # Set up files for the video library
 26777         # Set up files for the video library
 26367         if test x$enable_video = xyes; then
 26778         if test x$enable_video = xyes; then
 26368             cat >>confdefs.h <<\_ACEOF
 26779 
       
 26780 cat >>confdefs.h <<\_ACEOF
 26369 #define SDL_VIDEO_DRIVER_WINDOWS 1
 26781 #define SDL_VIDEO_DRIVER_WINDOWS 1
 26370 _ACEOF
 26782 _ACEOF
 26371 
 26783 
 26372             SOURCES="$SOURCES $srcdir/src/video/windows/*.c"
 26784             SOURCES="$SOURCES $srcdir/src/video/windows/*.c"
 26373             have_video=yes
 26785             have_video=yes
 26377 else
 26789 else
 26378   enable_render_d3d=yes
 26790   enable_render_d3d=yes
 26379 fi
 26791 fi
 26380 
 26792 
 26381             if test x$enable_render_d3d = xyes -a x$have_d3d = xyes; then
 26793             if test x$enable_render_d3d = xyes -a x$have_d3d = xyes; then
 26382                 cat >>confdefs.h <<\_ACEOF
 26794 
       
 26795 cat >>confdefs.h <<\_ACEOF
 26383 #define SDL_VIDEO_RENDER_D3D 1
 26796 #define SDL_VIDEO_RENDER_D3D 1
 26384 _ACEOF
 26797 _ACEOF
 26385 
 26798 
 26386             fi
 26799             fi
 26387         fi
 26800         fi
 26388         # Set up files for the audio library
 26801         # Set up files for the audio library
 26389         if test x$enable_audio = xyes; then
 26802         if test x$enable_audio = xyes; then
 26390             cat >>confdefs.h <<\_ACEOF
 26803 
 26391 #define SDL_AUDIO_DRIVER_WINWAVEOUT 1
 26804 cat >>confdefs.h <<\_ACEOF
 26392 _ACEOF
 26805 #define SDL_AUDIO_DRIVER_WINMM 1
 26393 
 26806 _ACEOF
 26394             SOURCES="$SOURCES $srcdir/src/audio/windib/*.c"
 26807 
       
 26808             SOURCES="$SOURCES $srcdir/src/audio/winmm/*.c"
 26395             if test x$have_dsound = xyes; then
 26809             if test x$have_dsound = xyes; then
 26396                 cat >>confdefs.h <<\_ACEOF
 26810 
       
 26811 cat >>confdefs.h <<\_ACEOF
 26397 #define SDL_AUDIO_DRIVER_DSOUND 1
 26812 #define SDL_AUDIO_DRIVER_DSOUND 1
 26398 _ACEOF
 26813 _ACEOF
 26399 
 26814 
 26400                 SOURCES="$SOURCES $srcdir/src/audio/windx5/*.c"
 26815                 SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
       
 26816             fi
       
 26817             if test x$have_xaudio2 = xyes; then
       
 26818 
       
 26819 cat >>confdefs.h <<\_ACEOF
       
 26820 #define SDL_AUDIO_DRIVER_XAUDIO2 1
       
 26821 _ACEOF
       
 26822 
       
 26823                 SOURCES="$SOURCES $srcdir/src/audio/xaudio2/*.c"
 26401             fi
 26824             fi
 26402             have_audio=yes
 26825             have_audio=yes
 26403         fi
 26826         fi
 26404         # Set up files for the joystick library
 26827         # Set up files for the joystick library
 26405         if test x$enable_joystick = xyes; then
 26828         if test x$enable_joystick = xyes; then
 26406             if test x$have_dinput = xyes; then
 26829             if test x$have_dinput = xyes; then
 26407                 cat >>confdefs.h <<\_ACEOF
 26830 
       
 26831 cat >>confdefs.h <<\_ACEOF
 26408 #define SDL_JOYSTICK_DINPUT 1
 26832 #define SDL_JOYSTICK_DINPUT 1
 26409 _ACEOF
 26833 _ACEOF
 26410 
 26834 
 26411                 SOURCES="$SOURCES $srcdir/src/joystick/windows/SDL_dxjoystick.c"
 26835                 SOURCES="$SOURCES $srcdir/src/joystick/windows/SDL_dxjoystick.c"
 26412                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldinput8 -ldxguid -ldxerr8"
 26836                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldinput8 -ldxguid -ldxerr8"
 26413             else
 26837             else
 26414                 cat >>confdefs.h <<\_ACEOF
 26838 
       
 26839 cat >>confdefs.h <<\_ACEOF
 26415 #define SDL_JOYSTICK_WINMM 1
 26840 #define SDL_JOYSTICK_WINMM 1
 26416 _ACEOF
 26841 _ACEOF
 26417 
 26842 
 26418                 SOURCES="$SOURCES $srcdir/src/joystick/windows/SDL_mmjoystick.c"
 26843                 SOURCES="$SOURCES $srcdir/src/joystick/windows/SDL_mmjoystick.c"
 26419             fi
 26844             fi
 26420             have_joystick=yes
 26845             have_joystick=yes
 26421         fi
 26846         fi
 26422         if test x$enable_haptic = xyes; then
 26847         if test x$enable_haptic = xyes; then
 26423             if test x$have_dinput = xyes; then
 26848             if test x$have_dinput = xyes; then
 26424                 cat >>confdefs.h <<\_ACEOF
 26849 
       
 26850 cat >>confdefs.h <<\_ACEOF
 26425 #define SDL_HAPTIC_DINPUT 1
 26851 #define SDL_HAPTIC_DINPUT 1
 26426 _ACEOF
 26852 _ACEOF
 26427 
 26853 
 26428                 SOURCES="$SOURCES $srcdir/src/haptic/windows/SDL_syshaptic.c"
 26854                 SOURCES="$SOURCES $srcdir/src/haptic/windows/SDL_syshaptic.c"
 26429                 have_haptic=yes
 26855                 have_haptic=yes
 26430             fi
 26856             fi
 26431         fi
 26857         fi
 26432         if test x$enable_power = xyes; then
 26858         if test x$enable_power = xyes; then
 26433             cat >>confdefs.h <<\_ACEOF
 26859 
       
 26860 cat >>confdefs.h <<\_ACEOF
 26434 #define SDL_POWER_WINDOWS 1
 26861 #define SDL_POWER_WINDOWS 1
 26435 _ACEOF
 26862 _ACEOF
 26436 
 26863 
 26437             SOURCES="$SOURCES $srcdir/src/power/windows/SDL_syspower.c"
 26864             SOURCES="$SOURCES $srcdir/src/power/windows/SDL_syspower.c"
 26438             have_power=yes
 26865             have_power=yes
 26439         fi
 26866         fi
 26440         # Set up files for the thread library
 26867         # Set up files for the thread library
 26441         if test x$enable_threads = xyes; then
 26868         if test x$enable_threads = xyes; then
 26442             cat >>confdefs.h <<\_ACEOF
 26869 
       
 26870 cat >>confdefs.h <<\_ACEOF
 26443 #define SDL_THREAD_WINDOWS 1
 26871 #define SDL_THREAD_WINDOWS 1
 26444 _ACEOF
 26872 _ACEOF
 26445 
 26873 
 26446             SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_sysmutex.c"
 26874             SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_sysmutex.c"
 26447             SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_syssem.c"
 26875             SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_syssem.c"
 26449             SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
 26877             SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
 26450             have_threads=yes
 26878             have_threads=yes
 26451         fi
 26879         fi
 26452         # Set up files for the timer library
 26880         # Set up files for the timer library
 26453         if test x$enable_timers = xyes; then
 26881         if test x$enable_timers = xyes; then
 26454             cat >>confdefs.h <<\_ACEOF
 26882 
       
 26883 cat >>confdefs.h <<\_ACEOF
 26455 #define SDL_TIMER_WINDOWS 1
 26884 #define SDL_TIMER_WINDOWS 1
 26456 _ACEOF
 26885 _ACEOF
 26457 
 26886 
 26458             SOURCES="$SOURCES $srcdir/src/timer/windows/*.c"
 26887             SOURCES="$SOURCES $srcdir/src/timer/windows/*.c"
 26459             have_timers=yes
 26888             have_timers=yes
 26460         fi
 26889         fi
 26461         # Set up files for the shared object loading library
 26890         # Set up files for the shared object loading library
 26462         if test x$enable_loadso = xyes; then
 26891         if test x$enable_loadso = xyes; then
 26463             cat >>confdefs.h <<\_ACEOF
 26892 
       
 26893 cat >>confdefs.h <<\_ACEOF
 26464 #define SDL_LOADSO_WINDOWS 1
 26894 #define SDL_LOADSO_WINDOWS 1
 26465 _ACEOF
 26895 _ACEOF
 26466 
 26896 
 26467             SOURCES="$SOURCES $srcdir/src/loadso/windows/*.c"
 26897             SOURCES="$SOURCES $srcdir/src/loadso/windows/*.c"
 26468             have_loadso=yes
 26898             have_loadso=yes
 26486         CheckDummyAudio
 26916         CheckDummyAudio
 26487         CheckBWINDOW
 26917         CheckBWINDOW
 26488         CheckBeGL
 26918         CheckBeGL
 26489         # Set up files for the audio library
 26919         # Set up files for the audio library
 26490         if test x$enable_audio = xyes; then
 26920         if test x$enable_audio = xyes; then
 26491             cat >>confdefs.h <<\_ACEOF
 26921 
       
 26922 cat >>confdefs.h <<\_ACEOF
 26492 #define SDL_AUDIO_DRIVER_BEOSAUDIO 1
 26923 #define SDL_AUDIO_DRIVER_BEOSAUDIO 1
 26493 _ACEOF
 26924 _ACEOF
 26494 
 26925 
 26495             SOURCES="$SOURCES $srcdir/src/audio/baudio/*.cc"
 26926             SOURCES="$SOURCES $srcdir/src/audio/baudio/*.cc"
 26496             have_audio=yes
 26927             have_audio=yes
 26497         fi
 26928         fi
 26498         # Set up files for the joystick library
 26929         # Set up files for the joystick library
 26499         if test x$enable_joystick = xyes; then
 26930         if test x$enable_joystick = xyes; then
 26500             cat >>confdefs.h <<\_ACEOF
 26931 
       
 26932 cat >>confdefs.h <<\_ACEOF
 26501 #define SDL_JOYSTICK_BEOS 1
 26933 #define SDL_JOYSTICK_BEOS 1
 26502 _ACEOF
 26934 _ACEOF
 26503 
 26935 
 26504             SOURCES="$SOURCES $srcdir/src/joystick/beos/*.cc"
 26936             SOURCES="$SOURCES $srcdir/src/joystick/beos/*.cc"
 26505             have_joystick=yes
 26937             have_joystick=yes
 26506         fi
 26938         fi
 26507         # Set up files for the thread library
 26939         # Set up files for the thread library
 26508         if test x$enable_threads = xyes; then
 26940         if test x$enable_threads = xyes; then
 26509             cat >>confdefs.h <<\_ACEOF
 26941 
       
 26942 cat >>confdefs.h <<\_ACEOF
 26510 #define SDL_THREAD_BEOS 1
 26943 #define SDL_THREAD_BEOS 1
 26511 _ACEOF
 26944 _ACEOF
 26512 
 26945 
 26513             SOURCES="$SOURCES $srcdir/src/thread/beos/*.c"
 26946             SOURCES="$SOURCES $srcdir/src/thread/beos/*.c"
 26514             SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_sysmutex.c"
 26947             SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_sysmutex.c"
 26515             SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
 26948             SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
 26516             have_threads=yes
 26949             have_threads=yes
 26517         fi
 26950         fi
 26518         # Set up files for the timer library
 26951         # Set up files for the timer library
 26519         if test x$enable_timers = xyes; then
 26952         if test x$enable_timers = xyes; then
 26520             cat >>confdefs.h <<\_ACEOF
 26953 
       
 26954 cat >>confdefs.h <<\_ACEOF
 26521 #define SDL_TIMER_BEOS 1
 26955 #define SDL_TIMER_BEOS 1
 26522 _ACEOF
 26956 _ACEOF
 26523 
 26957 
 26524             SOURCES="$SOURCES $srcdir/src/timer/beos/*.c"
 26958             SOURCES="$SOURCES $srcdir/src/timer/beos/*.c"
 26525             have_timers=yes
 26959             have_timers=yes
 26526         fi
 26960         fi
 26527         # Set up files for the shared object loading library
 26961         # Set up files for the shared object loading library
 26528         if test x$enable_loadso = xyes; then
 26962         if test x$enable_loadso = xyes; then
 26529             cat >>confdefs.h <<\_ACEOF
 26963 
       
 26964 cat >>confdefs.h <<\_ACEOF
 26530 #define SDL_LOADSO_BEOS 1
 26965 #define SDL_LOADSO_BEOS 1
 26531 _ACEOF
 26966 _ACEOF
 26532 
 26967 
 26533             SOURCES="$SOURCES $srcdir/src/loadso/beos/*.c"
 26968             SOURCES="$SOURCES $srcdir/src/loadso/beos/*.c"
 26534             have_loadso=yes
 26969             have_loadso=yes
 26535         fi
 26970         fi
 26536         # Set up files for the system power library
 26971         # Set up files for the system power library
 26537         if test x$enable_power = xyes; then
 26972         if test x$enable_power = xyes; then
 26538             cat >>confdefs.h <<\_ACEOF
 26973 
       
 26974 cat >>confdefs.h <<\_ACEOF
 26539 #define SDL_POWER_BEOS 1
 26975 #define SDL_POWER_BEOS 1
 26540 _ACEOF
 26976 _ACEOF
 26541 
 26977 
 26542             SOURCES="$SOURCES $srcdir/src/power/beos/*.c"
 26978             SOURCES="$SOURCES $srcdir/src/power/beos/*.c"
 26543             have_power=yes
 26979             have_power=yes
 26563         CheckDLOPEN
 26999         CheckDLOPEN
 26564 
 27000 
 26565         # Set up files for the shared object loading library
 27001         # Set up files for the shared object loading library
 26566         # (this needs to be done before the dynamic X11 check)
 27002         # (this needs to be done before the dynamic X11 check)
 26567         if test x$enable_loadso = xyes -a x$have_dlopen != xyes; then
 27003         if test x$enable_loadso = xyes -a x$have_dlopen != xyes; then
 26568             cat >>confdefs.h <<\_ACEOF
 27004 
       
 27005 cat >>confdefs.h <<\_ACEOF
 26569 #define SDL_LOADSO_DLCOMPAT 1
 27006 #define SDL_LOADSO_DLCOMPAT 1
 26570 _ACEOF
 27007 _ACEOF
 26571 
 27008 
 26572             SOURCES="$SOURCES $srcdir/src/loadso/macosx/*.c"
 27009             SOURCES="$SOURCES $srcdir/src/loadso/macosx/*.c"
 26573             have_loadso=yes
 27010             have_loadso=yes
 26585         # Need this or things might misbuild on a G3.
 27022         # Need this or things might misbuild on a G3.
 26586         EXTRA_CFLAGS="$EXTRA_CFLAGS -force_cpusubtype_ALL"
 27023         EXTRA_CFLAGS="$EXTRA_CFLAGS -force_cpusubtype_ALL"
 26587 
 27024 
 26588         # Set up files for the audio library
 27025         # Set up files for the audio library
 26589         if test x$enable_audio = xyes; then
 27026         if test x$enable_audio = xyes; then
 26590             cat >>confdefs.h <<\_ACEOF
 27027 
       
 27028 cat >>confdefs.h <<\_ACEOF
 26591 #define SDL_AUDIO_DRIVER_COREAUDIO 1
 27029 #define SDL_AUDIO_DRIVER_COREAUDIO 1
 26592 _ACEOF
 27030 _ACEOF
 26593 
 27031 
 26594             SOURCES="$SOURCES $srcdir/src/audio/macosx/*.c"
 27032             SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.c"
 26595             have_audio=yes
 27033             have_audio=yes
 26596         fi
 27034         fi
 26597         # Set up files for the joystick library
 27035         # Set up files for the joystick library
 26598         if test x$enable_joystick = xyes; then
 27036         if test x$enable_joystick = xyes; then
 26599             cat >>confdefs.h <<\_ACEOF
 27037 
       
 27038 cat >>confdefs.h <<\_ACEOF
 26600 #define SDL_JOYSTICK_IOKIT 1
 27039 #define SDL_JOYSTICK_IOKIT 1
 26601 _ACEOF
 27040 _ACEOF
 26602 
 27041 
 26603             SOURCES="$SOURCES $srcdir/src/joystick/darwin/*.c"
 27042             SOURCES="$SOURCES $srcdir/src/joystick/darwin/*.c"
 26604             have_joystick=yes
 27043             have_joystick=yes
 26605         fi
 27044         fi
 26606         # Set up files for the haptic library
 27045         # Set up files for the haptic library
 26607         if test x$enable_haptic = xyes; then
 27046         if test x$enable_haptic = xyes; then
 26608             cat >>confdefs.h <<\_ACEOF
 27047 
       
 27048 cat >>confdefs.h <<\_ACEOF
 26609 #define SDL_HAPTIC_IOKIT 1
 27049 #define SDL_HAPTIC_IOKIT 1
 26610 _ACEOF
 27050 _ACEOF
 26611 
 27051 
 26612             SOURCES="$SOURCES $srcdir/src/haptic/darwin/*.c"
 27052             SOURCES="$SOURCES $srcdir/src/haptic/darwin/*.c"
 26613             have_haptic=yes
 27053             have_haptic=yes
 26614             EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
 27054             EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
 26615         fi
 27055         fi
 26616         # Set up files for the power library
 27056         # Set up files for the power library
 26617         if test x$enable_power = xyes; then
 27057         if test x$enable_power = xyes; then
 26618             cat >>confdefs.h <<\_ACEOF
 27058 
       
 27059 cat >>confdefs.h <<\_ACEOF
 26619 #define SDL_POWER_MACOSX 1
 27060 #define SDL_POWER_MACOSX 1
 26620 _ACEOF
 27061 _ACEOF
 26621 
 27062 
 26622             SOURCES="$SOURCES $srcdir/src/power/macosx/*.c"
 27063             SOURCES="$SOURCES $srcdir/src/power/macosx/*.c"
 26623             have_power=yes
 27064             have_power=yes
 26624         fi
 27065         fi
 26625         # Set up files for the timer library
 27066         # Set up files for the timer library
 26626         if test x$enable_timers = xyes; then
 27067         if test x$enable_timers = xyes; then
 26627             cat >>confdefs.h <<\_ACEOF
 27068 
       
 27069 cat >>confdefs.h <<\_ACEOF
 26628 #define SDL_TIMER_UNIX 1
 27070 #define SDL_TIMER_UNIX 1
 26629 _ACEOF
 27071 _ACEOF
 26630 
 27072 
 26631             SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
 27073             SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
 26632             have_timers=yes
 27074             have_timers=yes
 26659 
 27101 
 26660 # Verify that we have all the platform specific files we need
 27102 # Verify that we have all the platform specific files we need
 26661 
 27103 
 26662 if test x$have_joystick != xyes; then
 27104 if test x$have_joystick != xyes; then
 26663     if test x$enable_joystick = xyes; then
 27105     if test x$enable_joystick = xyes; then
 26664         cat >>confdefs.h <<\_ACEOF
 27106 
       
 27107 cat >>confdefs.h <<\_ACEOF
 26665 #define SDL_JOYSTICK_DISABLED 1
 27108 #define SDL_JOYSTICK_DISABLED 1
 26666 _ACEOF
 27109 _ACEOF
 26667 
 27110 
 26668     fi
 27111     fi
 26669     SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"
 27112     SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"
 26670 fi
 27113 fi
 26671 if test x$have_haptic != xyes; then
 27114 if test x$have_haptic != xyes; then
 26672     if test x$enable_haptic = xyes; then
 27115     if test x$enable_haptic = xyes; then
 26673         cat >>confdefs.h <<\_ACEOF
 27116 
       
 27117 cat >>confdefs.h <<\_ACEOF
 26674 #define SDL_HAPTIC_DISABLED 1
 27118 #define SDL_HAPTIC_DISABLED 1
 26675 _ACEOF
 27119 _ACEOF
 26676 
 27120 
 26677     fi
 27121     fi
 26678     SOURCES="$SOURCES $srcdir/src/haptic/dummy/*.c"
 27122     SOURCES="$SOURCES $srcdir/src/haptic/dummy/*.c"
 26679 fi
 27123 fi
 26680 if test x$have_threads != xyes; then
 27124 if test x$have_threads != xyes; then
 26681     if test x$enable_threads = xyes; then
 27125     if test x$enable_threads = xyes; then
 26682         cat >>confdefs.h <<\_ACEOF
 27126 
       
 27127 cat >>confdefs.h <<\_ACEOF
 26683 #define SDL_THREADS_DISABLED 1
 27128 #define SDL_THREADS_DISABLED 1
 26684 _ACEOF
 27129 _ACEOF
 26685 
 27130 
 26686     fi
 27131     fi
 26687     SOURCES="$SOURCES $srcdir/src/thread/generic/*.c"
 27132     SOURCES="$SOURCES $srcdir/src/thread/generic/*.c"
 26688 fi
 27133 fi
 26689 if test x$have_timers != xyes; then
 27134 if test x$have_timers != xyes; then
 26690     if test x$enable_timers = xyes; then
 27135     if test x$enable_timers = xyes; then
 26691         cat >>confdefs.h <<\_ACEOF
 27136 
       
 27137 cat >>confdefs.h <<\_ACEOF
 26692 #define SDL_TIMERS_DISABLED 1
 27138 #define SDL_TIMERS_DISABLED 1
 26693 _ACEOF
 27139 _ACEOF
 26694 
 27140 
 26695     fi
 27141     fi
 26696     SOURCES="$SOURCES $srcdir/src/timer/dummy/*.c"
 27142     SOURCES="$SOURCES $srcdir/src/timer/dummy/*.c"
 26697 fi
 27143 fi
 26698 if test x$have_loadso != xyes; then
 27144 if test x$have_loadso != xyes; then
 26699     if test x$enable_loadso = xyes; then
 27145     if test x$enable_loadso = xyes; then
 26700         cat >>confdefs.h <<\_ACEOF
 27146 
       
 27147 cat >>confdefs.h <<\_ACEOF
 26701 #define SDL_LOADSO_DISABLED 1
 27148 #define SDL_LOADSO_DISABLED 1
 26702 _ACEOF
 27149 _ACEOF
 26703 
 27150 
 26704     fi
 27151     fi
 26705     SOURCES="$SOURCES $srcdir/src/loadso/dummy/*.c"
 27152     SOURCES="$SOURCES $srcdir/src/loadso/dummy/*.c"