From: Daniel Gustafsson Date: Tue, 14 May 2024 08:04:27 +0000 (+0200) Subject: autotools: Only probe for SGI MIPS compilers on IRIX X-Git-Tag: curl-8_8_0~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91908f66ad3e1e2ab08411749edc18e21d6e58b0;p=thirdparty%2Fcurl.git 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 --- 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 #