autotools: fixed d3d12 detection result report.

This commit is contained in:
Ozkan Sezer 2022-06-12 23:22:20 +03:00
parent 9a0367675f
commit bdf141335c
2 changed files with 6 additions and 4 deletions

6
configure vendored
View File

@ -27183,10 +27183,12 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO" if ac_fn_c_try_compile "$LINENO"
then : then :
have_d3d12=yes have_d3d12=yes
else $as_nop
have_d3d12=no
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: have_d3d12" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_d3d12" >&5
printf "%s\n" "have_d3d12" >&6; } printf "%s\n" "$have_d3d12" >&6; }
ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default" ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
if test "x$ac_cv_header_ddraw_h" = xyes if test "x$ac_cv_header_ddraw_h" = xyes
then : then :

View File

@ -3277,8 +3277,8 @@ ID3D12Device5 *device;
#if WDK_NTDDI_VERSION <= 0x0A000008 #if WDK_NTDDI_VERSION <= 0x0A000008
asdf asdf
#endif #endif
]],[])], [have_d3d12=yes],[]) ]])], [have_d3d12=yes],[have_d3d12=no])
AC_MSG_RESULT(have_d3d12) AC_MSG_RESULT($have_d3d12)
AC_CHECK_HEADER(ddraw.h, have_ddraw=yes) AC_CHECK_HEADER(ddraw.h, have_ddraw=yes)
AC_CHECK_HEADER(dsound.h, have_dsound=yes) AC_CHECK_HEADER(dsound.h, have_dsound=yes)
AC_CHECK_HEADER(dinput.h, have_dinput=yes) AC_CHECK_HEADER(dinput.h, have_dinput=yes)