]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix the SQUID_CC_REQUIRE_ARGUMENT autoconf function (#478)
authorDimitry Andric <dimitry@andric.com>
Sat, 21 Sep 2019 13:34:40 +0000 (13:34 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 21 Sep 2019 17:34:54 +0000 (17:34 +0000)
commit98dcfea475b3b9dcf0c1e2ee2693be3774581ade
treebb7a30d446f3985e6df215fcc9ec1b90cf6f0f11
parent82a9ea6c00dbecc529fc901136869ded97e5b73c
Fix the SQUID_CC_REQUIRE_ARGUMENT autoconf function (#478)

Inside AC_DEFUN(), autoconf replaces `$1` with the first argument of the
function.  In this case, the first argument is a variable name. To get
the _value_ of that variable, one has to use `$$1`.

One known effect of this fix (in many build environments) is the
disappearance of the following annoying extra error when a build fails
for some other reason:

    unrecognized command line option -Wno-deprecated-register
acinclude/compiler-flags.m4