configure.in
changeset 8751 e8c61640668d
parent 8743 4f1fc737b017
child 8759 18eb59aa5913
     1.1 --- a/configure.in	Fri May 02 12:39:26 2014 -0700
     1.2 +++ b/configure.in	Tue May 06 00:13:07 2014 -0400
     1.3 @@ -2404,6 +2404,7 @@
     1.4          AC_CHECK_HEADER(dsound.h, have_dsound=yes)
     1.5          AC_CHECK_HEADER(dinput.h, have_dinput=yes)
     1.6          AC_CHECK_HEADER(xaudio2.h, have_xaudio2=yes)
     1.7 +        AC_CHECK_HEADER(dxgi.h, have_dxgi=yes)
     1.8  
     1.9          SUMMARY_video="${SUMMARY_video} directx"
    1.10          SUMMARY_audio="${SUMMARY_audio} directx"
    1.11 @@ -2830,6 +2831,9 @@
    1.12                  AC_DEFINE(SDL_VIDEO_RENDER_D3D11, 1, [ ])
    1.13              fi
    1.14          fi
    1.15 +        if test x$have_dxgi = xyes; then
    1.16 +            AC_DEFINE(HAVE_DXGI_H, 1, [ ])
    1.17 +        fi
    1.18          # Set up files for the audio library
    1.19          if test x$enable_audio = xyes; then
    1.20              AC_DEFINE(SDL_AUDIO_DRIVER_WINMM, 1, [ ])