Subject: Detecting NetBSD 1.5
To: None <tech-net@netbsd.org>
From: Michael Richardson <mcr@research.solidum.com>
List: tech-net
Date: 12/13/2000 19:08:25
  Is is a reasonable snippet of code for configure.in?
  Or is there a better one. I need to detect IPv6 (for mrt). It currently
detects KAME, but it then expects it to be in /usr/local/v6.

AC_EGREP_CPP(yes, [
#include <sys/param.h>
#ifdef __NetBSD_Version__
#if __NetBSD_Version__ > 105000000
yes 
#endif
#endif
], [actions])

   :!mcr!:            |  Solidum Systems Corporation, http://www.solidum.com
   Michael Richardson |For a better connected world,where data flows faster<tm>
 Personal: http://www.sandelman.ottawa.on.ca/People/Michael_Richardson/Bio.html
	mailto:mcr@sandelman.ottawa.on.ca	mailto:mcr@solidum.com