]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix 'AC_LINK_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS' (#1139)
authorAmos Jeffries <yadij@users.noreply.github.com>
Tue, 13 Sep 2022 07:25:36 +0000 (07:25 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 13 Sep 2022 07:25:46 +0000 (07:25 +0000)
commit0c4134e1ac016748b6e0e5677e0dffdcb86523cf
tree52244ea5c60ee92645c5cede31a1ad9e433b99ed
parentec308e40083b0b4c4921bf17c79c356a76dd38d6
Fix 'AC_LINK_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS' (#1139)

... produced during bootstrap.sh by autoconf 2.71

AC_USE_SYSTEM_EXTENSIONS needs to be placed after detecting
which OS and compiler are being used. But before any of the
checks detecting capabilities of those OS and compilers.

AC_CANONICAL_HOST is a prerequisite of the simple_host_os logic.
Attach it to that code block instead of the compiler detection
block.

Replace deprecated '$GCC' variable with autoconf cached
'$ac_cv_c_compiler_gnu' variable used as the real source for the
yes/no value of GCC usability after AC_PROG_CC.
configure.ac