mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
f34db84c62
Do not define it for the vkd3d build, but restore support for overriding it as a
configure argument.
This partially reverts 99a3adcc19
.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52915
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
14 lines
894 B
Plaintext
14 lines
894 B
Plaintext
dnl VKD3D_CHECK_VULKAN
|
|
AC_DEFUN([VKD3D_CHECK_VULKAN],[
|
|
VKD3D_CHECK_SONAME([vulkan], [vkGetInstanceProcAddr],,
|
|
[VKD3D_CHECK_SONAME([vulkan-1], [vkGetInstanceProcAddr],
|
|
[AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN], ["$ac_cv_lib_soname_vulkan_1"])],
|
|
[VKD3D_CHECK_SONAME([MoltenVK], [vkGetInstanceProcAddr],
|
|
[AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN],
|
|
["$ac_cv_lib_soname_MoltenVK"])],
|
|
[AC_MSG_ERROR([libvulkan and libMoltenVK not found.])],
|
|
[$VULKAN_LIBS])],
|
|
[$VULKAN_LIBS])],
|
|
[$VULKAN_LIBS])
|
|
])
|