]> 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)
committerAmos Jeffries <yadij@users.noreply.github.com>
Mon, 14 Oct 2019 12:04:16 +0000 (01:04 +1300)
commitb0ea172fd8862ffcf57d65c4747e4dc5dde26c65
tree86d165aad772cbccbf5c7fe09b3f18b041d23dc5
parent671ba97abe929156dc4c717ee52ad22fba0f7443
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