blob: 49b99273a4ed4ee259254a226bc7ba9e8a692a1b [file] [log] [blame]
/*
* defaultrouter data access header
*
* $Id: $
*/
/**---------------------------------------------------------------------*/
/*
* configure required files
*
* Notes:
*
* 1) prefer functionality over platform, where possible. If a method
* is available for multiple platforms, test that first. That way
* when a new platform is ported, it won't need a new test here.
*
* 2) don't do detail requirements here. If, for example,
* HPUX11 had different reuirements than other HPUX, that should
* be handled in the *_hpux.h header file.
*/
config_require(ip-mib/data_access/defaultrouter_common)
#if defined( linux )
config_require(ip-mib/data_access/defaultrouter_linux)
#elif defined( freebsd4 ) || defined( netbsd5 ) || defined( openbsd ) || defined( dragonfly ) || defined( darwin )
config_require(ip-mib/data_access/defaultrouter_sysctl)
#else
/*
* couldn't determine the correct file!
*/
config_error(the defaultrouter data access library is not available in this environment.)
#endif