]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix ./configure detection of libxml2 headers (#1153)
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 22 Sep 2022 03:41:10 +0000 (03:41 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 22 Sep 2022 03:41:19 +0000 (03:41 +0000)
commit37be0e7503cc3b012db8ee6fe4977183d71c4618
treeedc34311acecec40f187dcbb810d6905f6d5018c
parent3aa7893f7b6214b2af8224c178a0faaf4d870262
Fix ./configure detection of libxml2 headers (#1153)

    checking for LIBXML2... yes
    checking libxml/parser.h usability... yes
    checking libxml/parser.h presence... no
    configure: WARNING: libxml/parser.h: accepted by the compiler,
               rejected by the preprocessor!
    configure: WARNING: libxml/parser.h: proceeding with the compiler's
               result

PKG_CHECK_MODULES() documentation warns that it uses a "misleading" name
for the foo_CFLAGS variable it sets: "the variable provides the flags to
pass to the preprocessor, rather than the compiler". Lots of Squid code
has been mislead by that macro, but this fix is specific to a recent
regression introduced in commit 866a092. TODO: Fix all others.
configure.ac