diff --git a/configure.ac b/configure.ac index d991969d553..4af4560f7c2 100644 --- a/configure.ac +++ b/configure.ac @@ -2205,9 +2205,7 @@ dnl dnl Gallium helper functions dnl gallium_require_llvm() { - if test "x$enable_gallium_llvm" = "xyes"; then - llvm_check_version_for $LLVM_REQUIRED_GALLIUM "gallium" - else + if test "x$enable_gallium_llvm" != "xyes"; then AC_MSG_ERROR([--enable-gallium-llvm is required when building $1]) fi }