]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2610: Detection and verification of ipfilter header files is incorrect
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 25 Apr 2009 01:07:10 +0000 (13:07 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 25 Apr 2009 01:07:10 +0000 (13:07 +1200)
After much contention reg Solaris and FreeBSD the union between them
seems to be this:
 - adding netinet/in.h
 - adding netinet/ip_fil_compat.h (alternative to netinet/ip_compat.h)
 - testing for netinet/ipl.h before netinet/ip_nat.h

configure.in

index 7922379d4fe4e69393d8f8367d69732599885a97..ac367b87117361914b5cf59b2e5700325d3b9d12 100644 (file)
@@ -1962,14 +1962,16 @@ dnl *BSD dont include the depenencies for all their net/ and netinet/ files
 dnl We must include a few basic type headers for them to work.
 AC_CHECK_HEADERS( \
        net/if.h \
-       net/pfvar.h \
        netinet/if_ether.h\
+       netinet/in.h \
        netinet/ip.h\
        netinet/ip_compat.h\
+       netinet/ip_fil_compat.h\
        netinet/ip_fil.h\
        netinet/ip_icmp.h\
-       netinet/ip_nat.h\
        netinet/ipl.h \
+       netinet/ip_nat.h\
+       net/pfvar.h \
        sys/mount.h\
        resolv.h,,,SQUID_BSDNET_INCLUDES)