]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-96398: Improve accuracy of compiler checks in configure.ac (#117815)
authorErlend E. Aasland <erlend@python.org>
Thu, 7 Nov 2024 09:49:58 +0000 (10:49 +0100)
committerGitHub <noreply@github.com>
Thu, 7 Nov 2024 09:49:58 +0000 (10:49 +0100)
commita5b94d066016be63d632cccee0ec2a2eb24536dc
tree4ab0273b796bdcd7e83375e5ed116409fcb71969
parent75f7cf91ec5afc6091a0fd442a1f0435c19300b2
gh-96398: Improve accuracy of compiler checks in configure.ac (#117815)

The following variables are now used in compiler checks:
- $ac_cv_gcc_compat is set to 'yes' for GCC compatible compilers
  (the C preprocessor defines the __GNUC__ macro)
- for compiler basename checks, use $CC_BASENAME
  (may contain platform triplets)
- for the rest, use $ac_cv_cc_name
  (does not contain platform triplets)
configure
configure.ac