]> git.ipfire.org Git - thirdparty/squid.git/commit - acinclude/squid-util.m4
Fix ./configure tests (#1151)
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 21 Sep 2022 23:53:12 +0000 (23:53 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 21 Sep 2022 23:53:22 +0000 (23:53 +0000)
commit3aa7893f7b6214b2af8224c178a0faaf4d870262
treeed16de02fe1c17e892bcfa9bfaa2019e35e13d55
parent55b3303d6fb2dec513a5db5d2dce9db1fd05423b
Fix ./configure tests (#1151)

Many tests broken by recent commit a1c2236 supplying empty input to
AC_LINK_IFELSE() macro in SQUID_CC_CHECK_ARGUMENT. Empty input results
in no test file created by the macro (and, presumably, a failed linking
test). Observable symptoms (in some environments) include many repeated
errors on ./configure stderr:

    sed: can't read conftest.cpp: No such file or directory

Also fixed a similar SQUID_SEARCH_LIBS() bug. That macro was broken
since inception (commit 391f0ba). It is currently only used for the
mingw-specific SQUID_CHECK_WINSOCK_LIB check. This change is untested.
acinclude/compiler-flags.m4
acinclude/squid-util.m4