Now that no errors are caused by this function, it can be called without any conditions at the top of the file.
Signed-off-by: Tobias Droste <[email protected]> --- configure.ac | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index a6208c5..0ebf14c 100644 --- a/configure.ac +++ b/configure.ac @@ -1000,6 +1000,8 @@ llvm_add_target() { fi } +llvm_get_version + dnl Options for APIs AC_ARG_ENABLE([opengl], [AS_HELP_STRING([--disable-opengl], @@ -2288,12 +2290,6 @@ if test "x$enable_gallium_llvm" = xauto; then i*86|x86_64|amd64) enable_gallium_llvm=yes;; esac fi -if test "x$enable_gallium_llvm" = xyes || test "x$HAVE_RADEON_VULKAN" = xyes; then - llvm_get_version -else - MESA_LLVM=0 - LLVM_VERSION_INT=0 -fi gallium_llvm_check() { LLVM_REQUIRED_VERSION_MAJOR="3" -- 2.10.0 _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
