]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 3754: configure doesnt detect IPFilter 5.1.2 system headers
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 9 Jan 2015 10:24:41 +0000 (02:24 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 9 Jan 2015 10:24:41 +0000 (02:24 -0800)
commitc44f1a7df641f5fac0c282cab499ad6e61e7b5fd
tree32a1247292cc1388027a6cd62b6415c45e13bc85
parentef59be2e7d78dd6118c5450413b45457d549d8d7
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