2021-03-21 13:44:39 -07:00
|
|
|
dnl VKD3D_CHECK_VULKAN
|
|
|
|
AC_DEFUN([VKD3D_CHECK_VULKAN],[
|
2022-04-22 13:18:00 -07:00
|
|
|
VKD3D_CHECK_SONAME([vulkan], [vkGetInstanceProcAddr],,
|
2021-03-21 13:44:39 -07:00
|
|
|
[VKD3D_CHECK_SONAME([vulkan-1], [vkGetInstanceProcAddr],
|
2022-04-22 13:18:00 -07:00
|
|
|
[AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN], ["$ac_cv_lib_soname_vulkan_1"])],
|
2021-03-21 13:44:39 -07:00
|
|
|
[VKD3D_CHECK_SONAME([MoltenVK], [vkGetInstanceProcAddr],
|
2022-04-22 13:18:00 -07:00
|
|
|
[AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN],
|
2021-03-21 13:44:39 -07:00
|
|
|
["$ac_cv_lib_soname_MoltenVK"])],
|
2022-04-22 13:18:00 -07:00
|
|
|
[AC_MSG_ERROR([libvulkan and libMoltenVK not found.])])
|
|
|
|
])
|
|
|
|
])
|
2021-03-21 13:44:39 -07:00
|
|
|
])
|