]> git.ipfire.org Git - thirdparty/squid.git/commit - configure.ac
Bug 3754: configure doesnt detect IPFilter 5.1.2 system headers
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 2 Jan 2015 13:15:24 +0000 (05:15 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 2 Jan 2015 13:15:24 +0000 (05:15 -0800)
commitd25bbe2661228f6b9e38ee851ed094d899054a5b
tree2ef41f58739c0f18d2f28ffb1f52bf605c239073
parent45c2a738a67638f15767bd8a4e0640dcdb8f7a3b
Bug 3754: configure doesnt detect IPFilter 5.1.2 system headers

Solaris 10+ bundles IPFilter code natively, but the IPFilter
headers contain a duplicate definition of minor_t which does
not match the existing OS definition.

The result is that no applications (such as Squid) will build
on Solaris with the natively provided headers.

Also, the upstream IPFilter code separate from Solaris contains
the same minor_t definition so building against a separate
install of IPFilter does not fix the issue.

We must instead play fancy games #define'ing minor_t to a
different real-name for the OS headers and its own name for
the IPFilter headers.

 Thanks to Yuri Voinov for sponsoring the Solaris 10
 machine and environment resources for this fix.
acinclude/os-deps.m4
compat/compat.h
configure.ac
src/ip/Intercept.cc