From 2b7d9790d6da8055aefd1ab395335cabc002e71f Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 10 Apr 2024 20:36:40 +0200 Subject: [PATCH] configure: Use AC_CHECK_TOOL to check for widl. In particular, this will automatically pick up x86_64-w64-mingw32-widl/i686-w64-mingw32-widl (provided by mingw-w64-tools on Debian) when present and building for the corresponding hosts. --- m4/widl.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/widl.m4 b/m4/widl.m4 index 6d226064..2311b832 100644 --- a/m4/widl.m4 +++ b/m4/widl.m4 @@ -1,7 +1,7 @@ dnl VKD3D_PROG_WIDL(major, minor) AC_DEFUN([VKD3D_PROG_WIDL], -[AC_CHECK_PROG([WIDL], [widl], [widl], [no]) +[AC_CHECK_TOOL([WIDL], [widl], [no]) AS_IF([test "x$WIDL" != "xno"], [AC_MSG_CHECKING([checking whether widl version >= $1.$2])