configure.in
changeset 5592 2e88d0742f4d
parent 5588 57bfc2a2a452
child 5596 d4b2f6543074
equal deleted inserted replaced
5591:17beb16fa838 5592:2e88d0742f4d
  1724     if test x$enable_directx = xyes; then
  1724     if test x$enable_directx = xyes; then
  1725         AC_CHECK_HEADER(d3d9.h, have_d3d=yes)
  1725         AC_CHECK_HEADER(d3d9.h, have_d3d=yes)
  1726         AC_CHECK_HEADER(ddraw.h, have_ddraw=yes)
  1726         AC_CHECK_HEADER(ddraw.h, have_ddraw=yes)
  1727         AC_CHECK_HEADER(dsound.h, have_dsound=yes)
  1727         AC_CHECK_HEADER(dsound.h, have_dsound=yes)
  1728         AC_CHECK_HEADER(dinput.h, have_dinput=yes)
  1728         AC_CHECK_HEADER(dinput.h, have_dinput=yes)
       
  1729         AC_CHECK_HEADER(xaudio2.h, have_xaudio2=yes)
  1729     fi
  1730     fi
  1730 }
  1731 }
  1731 
  1732 
  1732 dnl Check for the dlfcn.h interface for dynamically loading objects
  1733 dnl Check for the dlfcn.h interface for dynamically loading objects
  1733 CheckDLOPEN()
  1734 CheckDLOPEN()
  2061             SOURCES="$SOURCES $srcdir/src/audio/winmm/*.c"
  2062             SOURCES="$SOURCES $srcdir/src/audio/winmm/*.c"
  2062             if test x$have_dsound = xyes; then
  2063             if test x$have_dsound = xyes; then
  2063                 AC_DEFINE(SDL_AUDIO_DRIVER_DSOUND, 1, [ ])
  2064                 AC_DEFINE(SDL_AUDIO_DRIVER_DSOUND, 1, [ ])
  2064                 SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
  2065                 SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
  2065             fi
  2066             fi
       
  2067             if test x$have_xaudio2 = xyes; then
       
  2068                 AC_DEFINE(SDL_AUDIO_DRIVER_XAUDIO2, 1, [ ])
       
  2069                 SOURCES="$SOURCES $srcdir/src/audio/xaudio2/*.c"
       
  2070             fi
  2066             have_audio=yes
  2071             have_audio=yes
  2067         fi
  2072         fi
  2068         # Set up dummy files for the joystick for now
  2073         # Set up dummy files for the joystick for now
  2069         if test x$enable_joystick = xyes; then
  2074         if test x$enable_joystick = xyes; then
  2070             AC_DEFINE(SDL_JOYSTICK_DUMMY, 1, [ ])
  2075             AC_DEFINE(SDL_JOYSTICK_DUMMY, 1, [ ])
  2147             AC_DEFINE(SDL_AUDIO_DRIVER_WINMM, 1, [ ])
  2152             AC_DEFINE(SDL_AUDIO_DRIVER_WINMM, 1, [ ])
  2148             SOURCES="$SOURCES $srcdir/src/audio/winmm/*.c"
  2153             SOURCES="$SOURCES $srcdir/src/audio/winmm/*.c"
  2149             if test x$have_dsound = xyes; then
  2154             if test x$have_dsound = xyes; then
  2150                 AC_DEFINE(SDL_AUDIO_DRIVER_DSOUND, 1, [ ])
  2155                 AC_DEFINE(SDL_AUDIO_DRIVER_DSOUND, 1, [ ])
  2151                 SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
  2156                 SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
       
  2157             fi
       
  2158             if test x$have_xaudio2 = xyes; then
       
  2159                 AC_DEFINE(SDL_AUDIO_DRIVER_XAUDIO2, 1, [ ])
       
  2160                 SOURCES="$SOURCES $srcdir/src/audio/xaudio2/*.c"
  2152             fi
  2161             fi
  2153             have_audio=yes
  2162             have_audio=yes
  2154         fi
  2163         fi
  2155         # Set up files for the joystick library
  2164         # Set up files for the joystick library
  2156         if test x$enable_joystick = xyes; then
  2165         if test x$enable_joystick = xyes; then