From 9629cbfce4ff60cc611703b367523e77dfb93643 Mon Sep 17 00:00:00 2001 From: Pavel Grunt Date: Mon, 2 Jan 2017 21:46:22 +0100 Subject: [PATCH] build: Fix vulkan detection Add missing 'test' https://bugzilla.gnome.org/show_bug.cgi?id=776736 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a521843eae..b70a89a822 100644 --- a/configure.ac +++ b/configure.ac @@ -1327,7 +1327,7 @@ if test "x$enable_vulkan" != "xno"; then [AC_CHECK_LIB([vulkan], [vkCreateInstance], [], [vulkan_error="Vulkan library not found"])], [vulkan_error="Vulkan header not found"]) if test "x$vulkan_error" != "x"; then - if "x$enable_vulkan" = "xyes"; then + if test "x$enable_vulkan" = "xyes"; then AC_MSG_ERROR($vulkan_error) else AC_MSG_WARN($vulkan_error)