Signed-off-by: Józef Kucia jkucia@codeweavers.com --- configure.ac | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
diff --git a/configure.ac b/configure.ac index 312c235bb1df..e088643aad0a 100644 --- a/configure.ac +++ b/configure.ac @@ -81,6 +81,7 @@ AC_ARG_WITH(sdl, AS_HELP_STRING([--without-sdl],[do not use SDL])) AC_ARG_WITH(tiff, AS_HELP_STRING([--without-tiff],[do not use TIFF])) AC_ARG_WITH(udev, AS_HELP_STRING([--without-udev],[do not use udev (plug and play support)])) AC_ARG_WITH(v4l, AS_HELP_STRING([--without-v4l],[do not use v4l1 (v4l support)])) +AC_ARG_WITH(vkd3d, AS_HELP_STRING([--without-vkd3d],[do not use vkd3d (Direct3D 12 support)])) AC_ARG_WITH(vulkan, AS_HELP_STRING([--without-vulkan],[do not use Vulkan])) AC_ARG_WITH(xcomposite,AS_HELP_STRING([--without-xcomposite],[do not use the Xcomposite extension]), [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi]) @@ -1855,6 +1856,26 @@ fi WINE_NOTICE_WITH(vulkan,[test "x$ac_cv_lib_soname_vulkan" = "x"], [libvulkan ${notice_platform}development files not found, Vulkan won't be supported.])
+dnl **** Check for vkd3d **** +if test "x$with_vkd3d" != "xno" +then + WINE_PACKAGE_FLAGS(VKD3D,[libvkd3d],,,,) + + if test "x$VKD3D_LIBS" = "x" + then + VKD3D_CFLAGS="" + VKD3D_LIBS="" + else + WINE_CHECK_SONAME(vkd3d,vkd3d_create_device,,,[$VKD3D_LIBS]) + fi +fi + +if test "x$ac_cv_lib_soname_vkd3d" = "x" +then + WINE_NOTICE([vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.]) + enable_d3d12=${enable_d3d12:-no} +fi + dnl **** Check for gcc specific options ****
AC_SUBST(EXTRACFLAGS,"")