vkd3d/m4/widl.m4
Józef Kucia 233caa2fb0 build: Drop hack for stripping RPC includes from widl-generated headers.
This requires widl from Wine >= 3.20:

  commit b7402ddbbecdfaa81daa657fbb5d37661f401434
  Author: Józef Kucia <jkucia@codeweavers.com>
  Date:   Mon Nov 19 15:07:02 2018 +0100

      widl: Guard RPC includes with #ifdef _WIN32.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 18:56:41 +02:00

15 lines
497 B
Plaintext

dnl VKD3D_PROG_WIDL(major, minor)
AC_DEFUN([VKD3D_PROG_WIDL],
[AC_CHECK_PROG([WIDL], [widl], [widl], [no])
AS_IF([test "x$WIDL" != "xno"],
[AC_MSG_CHECKING([checking whether widl version >= $1.$2])
vkd3d_widl_version=`$WIDL -V | $SED -E '/version/{s/.* version (.*)/\1/;q;}'`
AX_COMPARE_VERSION([$vkd3d_widl_version], [ge], [$1.$2],
[AC_MSG_RESULT([yes ($vkd3d_widl_version)])],
[AC_MSG_RESULT([no ($vkd3d_widl_version)])
WIDL=no])
])])