diff --git a/configure.ac b/configure.ac index a279f78a0ea..0224c9c32eb 100644 --- a/configure.ac +++ b/configure.ac @@ -5149,6 +5149,11 @@ source on this site: with_native_compilation=no]) +if test "$with_features" = "no" \ + && test "${with_native_compilation}" = "default"; then + with_native_compilation=no +fi + if test "${with_native_compilation}" = "default"; then # Check if libgccjit is available. AC_CHECK_LIB([gccjit], [gcc_jit_context_acquire],