From cab16fe9034ce6492ed7cc0a97a3ee69a4085f2a Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Fri, 22 Apr 2022 15:18:01 -0500 Subject: [PATCH] configure: Allow specifying the shared object name of the Vulkan library at configure time. Signed-off-by: Zebediah Figura Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5250103c..b386104a 100644 --- a/configure.ac +++ b/configure.ac @@ -112,7 +112,10 @@ case $host_os in ;; esac -VKD3D_CHECK_VULKAN +AC_ARG_VAR([SONAME_LIBVULKAN], [shared object name for the Vulkan library]) +AS_IF([test "x$SONAME_LIBVULKAN" = "x"], + [VKD3D_CHECK_VULKAN], + [AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN],["$SONAME_LIBVULKAN"],[Define to the shared object name of the Vulkan library.])]) AS_IF([test "x$with_ncurses" != "xno"], [PKG_CHECK_MODULES([NCURSES], [ncurses],