From 17c8ebc4a8bac95190206744b3712ad9bc1fbc71 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 9 Dec 2016 14:00:48 -0500 Subject: [PATCH] Fix the configure check for Vulkan GDK_WINDOWING_VULKAN was getting defined regardless of the tests. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8093384b2a..d2c715862b 100644 --- a/configure.ac +++ b/configure.ac @@ -1325,7 +1325,7 @@ if test "x$enable_vulkan" != "xno"; then vulkan_error="" AC_CHECK_HEADER([vulkan/vulkan.h], [], [vulkan_error="Vulkan header not found"]) AC_CHECK_LIB([vulkan], [vkCreateInstance], [], [vulkan_error="Vulkan library not found"]) - if test "x$vulkan_result" != "x"; then + if test "x$vulkan_error" != "x"; then if "x$enable_vulkan" = "xyes"; then AC_MSG_ERROR($vulkan_error) else