-Wcast-qual and -Wwrite-strings warnings enabled,
which is now the default when using gcc. (Warnings
from confparser.c, because of yacc's code, are
unfortunately to be expected.)
223. [func] Several functions were reprototyped to qualify one
or more of their arguments with "const". Similarly,
several functions that return pointers now have
those pointers qualified with const.
redeclared without prototype") when compiling in
the lib/dns/sec/{dnssafe,openssl} directories, which
are code imported from outside sources.
... and on HP/UX, pass -Wl,+vnocompatwarnings as part of LIBS, no CC,
so it only appears on the command line when linking.
the CPP symbol it uses from *_HAVENETINET6* to *_NEEDNETINET6* to better
clarify what's going on with regard to the symbol.
Moved processing of --with-kame to before the in6addr_any check, since
it needs to set LIBS for the check to work. [related to RT #105, and
previous configure.in revision 1.108.]
in6_pkinfo check only needs AC_TRY_COMPILE, not AC_TRY_LINK.
library if it is available; therefore the --with-mit-pthreads
option is no longer needed. The --with-ptl2 option is now documented
as being experimental and applying to NetBSD only.
make v6 sockets, but we do not have struct in6_pktinfo.
Add a check in configure.in for struct in6_pktinfo.
Use the result of that check to define (if needed) in6_pktinfo in net.h.
This change makes us build on platforms that have SOME ipv6 structures
(like in6_addr, etc) but not enough to be useful to us.
Note: Before making an ipv6 socket the code should verify that ipv6
sockets can be made using isc_net_probeipv6(). It should also
check for v4 sockets using isc_net_probeipv4() to be consistant.
permitted to directly include netinet6/in6.h anymore. The RFCs and drafts
all say to include netinet/in.h and that will define the ipv6 goop if the
host supports it.
Rather than break (broken) OSs, I added a check for NetBSD in configure
that will force the definitions of
ISC_PLATFORM_HAVENETINET6IN6H
and LWRES_PLATFORM_HAVENETINET6IN6H
to be #undef.
This isn't really as clean as I'd like. I'd rather be hard and say an OS
that requires direct include of netinet6/in6.h is broken, and remove it
fully from our code.
are given, install to /usr/local but use /etc/named.conf and
/var/run/named.pid. If prefix is given, use it in the other two if they
are not also provided.