configure
changeset 11335 a9f4f63b5add
parent 11326 ba4fe3686323
child 11337 d9f24e95e8ba
equal deleted inserted replaced
11334:749cb40916f2 11335:a9f4f63b5add
 22832 if test "x$ac_cv_header_xinput_h" = xyes; then :
 22832 if test "x$ac_cv_header_xinput_h" = xyes; then :
 22833   have_xinput=yes
 22833   have_xinput=yes
 22834 fi
 22834 fi
 22835 
 22835 
 22836 
 22836 
       
 22837         ac_fn_c_check_header_mongrel "$LINENO" "mmdeviceapi.h" "ac_cv_header_mmdeviceapi_h" "$ac_includes_default"
       
 22838 if test "x$ac_cv_header_mmdeviceapi_h" = xyes; then :
       
 22839   have_wasapi=yes
       
 22840 fi
       
 22841 
       
 22842 
       
 22843         ac_fn_c_check_header_mongrel "$LINENO" "audioclient.h" "ac_cv_header_audioclient_h" "$ac_includes_default"
       
 22844 if test "x$ac_cv_header_audioclient_h" = xyes; then :
       
 22845 
       
 22846 else
       
 22847   have_wasapi=no
       
 22848 fi
       
 22849 
       
 22850 
 22837         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 22851         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 22838 /* end confdefs.h.  */
 22852 /* end confdefs.h.  */
 22839 
 22853 
 22840 #include <windows.h>
 22854 #include <windows.h>
 22841 #include <xinput.h>
 22855 #include <xinput.h>
 23838 
 23852 
 23839 $as_echo "#define SDL_AUDIO_DRIVER_XAUDIO2 1" >>confdefs.h
 23853 $as_echo "#define SDL_AUDIO_DRIVER_XAUDIO2 1" >>confdefs.h
 23840 
 23854 
 23841                 SOURCES="$SOURCES $srcdir/src/audio/xaudio2/*.c"
 23855                 SOURCES="$SOURCES $srcdir/src/audio/xaudio2/*.c"
 23842             fi
 23856             fi
       
 23857             if test x$have_wasapi = xyes; then
 23843 
 23858 
 23844 $as_echo "#define SDL_AUDIO_DRIVER_WASAPI 1" >>confdefs.h
 23859 $as_echo "#define SDL_AUDIO_DRIVER_WASAPI 1" >>confdefs.h
 23845 
 23860 
 23846             SOURCES="$SOURCES $srcdir/src/audio/wasapi/*.c"
 23861                 SOURCES="$SOURCES $srcdir/src/audio/wasapi/*.c"
       
 23862             fi
 23847             have_audio=yes
 23863             have_audio=yes
 23848         fi
 23864         fi
 23849         # Set up files for the joystick library
 23865         # Set up files for the joystick library
 23850         if test x$enable_joystick = xyes; then
 23866         if test x$enable_joystick = xyes; then
 23851             if test x$have_dinput = xyes -o x$have_xinput = xyes; then
 23867             if test x$have_dinput = xyes -o x$have_xinput = xyes; then