Subject: Re: Detecting NetBSD 1.5
To: Michael Richardson <mcr@research.solidum.com>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-net
Date: 12/13/2000 19:25:57
On Wed, 13 Dec 2000, Michael Richardson wrote:

:     Simon> IPv6 appeared between 1.4 and 1.5.  Couldn't you add an autoconf
:     Simon> test for the existance of, say, <netinet6/in6.h> ?
:
:   Yes, but you see, that would get confused with KAME on 1.4, perhaps.

If you choose an IPv6 header file and test for it with AC_CHECK_HEADER, it
shouldn't matter to you at configure time whose implementation it is or
where it was integrated.  As far as you and your application are concerned,
the compiler (with the CPPFLAGS that may have been overridden by the user)
knows how to find the headers; that's all you need.

(This is the most appropriate way to search for a feature like this.)

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  http://www.wasabisystems.com/
-- Speed, stability, security, and support.  Wasabi NetBSD:  Run with it.