configure: Remove the no longer used check for VULKAN_LIBS.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2022-04-22 15:18:00 -05:00 committed by Alexandre Julliard
parent f9c7b123d8
commit 99a3adcc19
2 changed files with 6 additions and 11 deletions

View File

@ -112,7 +112,6 @@ case $host_os in
;; ;;
esac esac
AC_ARG_VAR([VULKAN_LIBS], [linker flags for the Vulkan library])
VKD3D_CHECK_VULKAN VKD3D_CHECK_VULKAN
AS_IF([test "x$with_ncurses" != "xno"], AS_IF([test "x$with_ncurses" != "xno"],

View File

@ -1,16 +1,12 @@
dnl VKD3D_CHECK_VULKAN dnl VKD3D_CHECK_VULKAN
AC_DEFUN([VKD3D_CHECK_VULKAN],[ AC_DEFUN([VKD3D_CHECK_VULKAN],[
VKD3D_CHECK_SONAME([vulkan], [vkGetInstanceProcAddr], VKD3D_CHECK_SONAME([vulkan], [vkGetInstanceProcAddr],,
[VULKAN_LIBS="$VULKAN_LIBS -lvulkan"],
[VKD3D_CHECK_SONAME([vulkan-1], [vkGetInstanceProcAddr], [VKD3D_CHECK_SONAME([vulkan-1], [vkGetInstanceProcAddr],
[VULKAN_LIBS="$VULKAN_LIBS -lvulkan-1" [AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN], ["$ac_cv_lib_soname_vulkan_1"])],
AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN], ["$ac_cv_lib_soname_vulkan_1"])],
[VKD3D_CHECK_SONAME([MoltenVK], [vkGetInstanceProcAddr], [VKD3D_CHECK_SONAME([MoltenVK], [vkGetInstanceProcAddr],
[VULKAN_LIBS="$VULKAN_LIBS -lMoltenVK" [AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN],
AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN],
["$ac_cv_lib_soname_MoltenVK"])], ["$ac_cv_lib_soname_MoltenVK"])],
[AC_MSG_ERROR([libvulkan and libMoltenVK not found.])], [AC_MSG_ERROR([libvulkan and libMoltenVK not found.])])
[$VULKAN_LIBS])], ])
[$VULKAN_LIBS])], ])
[$VULKAN_LIBS])
]) ])