configure
changeset 8591 2228ae5a3ac6
parent 8303 7ee46ffa9c24
child 8606 29ffd0d3926b
--- a/configure	Sun Mar 09 22:48:38 2014 -0700
+++ b/configure	Mon Mar 10 01:51:03 2014 -0700
@@ -21880,6 +21880,12 @@
 fi
 
 
+        ac_fn_c_check_header_mongrel "$LINENO" "d3d11_1.h" "ac_cv_header_d3d11_1_h" "$ac_includes_default"
+if test "x$ac_cv_header_d3d11_1_h" = xyes; then :
+  have_d3d11=yes
+fi
+
+
         ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
 if test "x$ac_cv_header_ddraw_h" = xyes; then :
   have_ddraw=yes
@@ -22717,6 +22723,11 @@
 $as_echo "#define SDL_VIDEO_RENDER_D3D 1" >>confdefs.h
 
             fi
+            if test x$enable_render_d3d = xyes -a x$have_d3d11 = xyes; then
+
+$as_echo "#define SDL_VIDEO_RENDER_D3D11 1" >>confdefs.h
+
+            fi
         fi
         # Set up files for the audio library
         if test x$enable_audio = xyes; then