Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2000 11:42:12 +1000 (Australia/NSW)
From:      Darren Reed <avalon@coombs.anu.edu.au>
To:        hackers@freebsd.org
Subject:   options INET6 vs opt_inet.h
Message-ID:  <200007160142.LAA17043@cairo.anu.edu.au>

next in thread | raw e-mail | index | archive | help

So, it would appear that in /sys/conf/options, we have the following:

INET                    opt_inet.h
INET6                   opt_inet6.h

Which might seem all nice and dandy - except that config will not generate
"opt_inet6.h" with "#undef INET6" if "option INET6" is not present and so
you cannot inlcude "opt_inet6.h" to determine if INET6 is defined.  There
are two possible fixes here - which are not necessarily mutually exclusive
of each other:

1. make config generate opt_inet6.h anyway

2. put INET6 in opt_inet.h

I believe that (2) is quite reasonable but (1) should happen anyway.

Comments ?

Darren


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007160142.LAA17043>