From 91908f66ad3e1e2ab08411749edc18e21d6e58b0 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Tue, 14 May 2024 10:04:27 +0200 Subject: [PATCH] autotools: Only probe for SGI MIPS compilers on IRIX MIPSPro and the predecessor compiler which was part of the IDO (IRIS Development Option) were only ever shipped on the SGI IRIX operating system (with MIPSPro on 6.0+ which was released in 1994). Limit the autoconf check to IRIX when probing for these compilers to save some cycles on other platforms. Closes: #13611 Reviewed-by: Daniel Stenberg --- m4/curl-compilers.m4 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index 9a4547709e..06e335d8fa 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -48,8 +48,12 @@ AC_DEFUN([CURL_CHECK_COMPILER], [ CURL_CHECK_COMPILER_INTEL_C CURL_CHECK_COMPILER_CLANG CURL_CHECK_COMPILER_GNU_C - CURL_CHECK_COMPILER_SGI_MIPSPRO_C - CURL_CHECK_COMPILER_SGI_MIPS_C + case $host in + mips-sgi-irix*) + CURL_CHECK_COMPILER_SGI_MIPSPRO_C + CURL_CHECK_COMPILER_SGI_MIPS_C + ;; + esac CURL_CHECK_COMPILER_SUNPRO_C CURL_CHECK_COMPILER_TINY_C #