configure.in
changeset 8591 2228ae5a3ac6
parent 8303 7ee46ffa9c24
child 8606 29ffd0d3926b
     1.1 --- a/configure.in	Sun Mar 09 22:48:38 2014 -0700
     1.2 +++ b/configure.in	Mon Mar 10 01:51:03 2014 -0700
     1.3 @@ -2394,6 +2394,7 @@
     1.4                    , enable_directx=yes)
     1.5      if test x$enable_directx = xyes; then
     1.6          AC_CHECK_HEADER(d3d9.h, have_d3d=yes)
     1.7 +        AC_CHECK_HEADER(d3d11_1.h, have_d3d11=yes)
     1.8          AC_CHECK_HEADER(ddraw.h, have_ddraw=yes)
     1.9          AC_CHECK_HEADER(dsound.h, have_dsound=yes)
    1.10          AC_CHECK_HEADER(dinput.h, have_dinput=yes)
    1.11 @@ -2791,6 +2792,9 @@
    1.12              if test x$enable_render_d3d = xyes -a x$have_d3d = xyes; then
    1.13                  AC_DEFINE(SDL_VIDEO_RENDER_D3D, 1, [ ])
    1.14              fi
    1.15 +            if test x$enable_render_d3d = xyes -a x$have_d3d11 = xyes; then
    1.16 +                AC_DEFINE(SDL_VIDEO_RENDER_D3D11, 1, [ ])
    1.17 +            fi
    1.18          fi
    1.19          # Set up files for the audio library
    1.20          if test x$enable_audio = xyes; then