| 1 |
/* |
| 2 |
* systemstats data access header |
| 3 |
* |
| 4 |
* $Id$ |
| 5 |
*/ |
| 6 |
/**---------------------------------------------------------------------*/ |
| 7 |
/* |
| 8 |
* configure required files |
| 9 |
* |
| 10 |
* Notes: |
| 11 |
* |
| 12 |
* 1) prefer functionality over platform, where possible. If a method |
| 13 |
* is available for multiple platforms, test that first. That way |
| 14 |
* when a new platform is ported, it won't need a new test here. |
| 15 |
* |
| 16 |
* 2) don't do detail requirements here. If, for example, |
| 17 |
* HPUX11 had different reuirements than other HPUX, that should |
| 18 |
* be handled in the *_hpux.h header file. |
| 19 |
*/ |
| 20 |
config_require(ip-mib/data_access/systemstats_common); |
| 21 |
#if defined( linux ) |
| 22 |
config_require(ip-mib/data_access/systemstats_linux); |
| 23 |
#elif defined( solaris2 ) |
| 24 |
config_require(ip-mib/data_access/systemstats_solaris2); |
| 25 |
#elif defined( freebsd7 ) || defined( netbsd5 ) || defined( openbsd4 ) || defined( dragonfly ) || defined( darwin ) |
| 26 |
config_require(ip-mib/data_access/systemstats_sysctl); |
| 27 |
#else |
| 28 |
config_error(the systemstats data access library is not available in this environment.); |
| 29 |
#endif |