| 1 |
/* |
| 2 |
* arp 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/arp_common); |
| 21 |
#if defined( HAVE_LINUX_RTNETLINK_H ) |
| 22 |
config_require(ip-mib/data_access/arp_netlink); |
| 23 |
#elif defined( linux ) |
| 24 |
config_require(ip-mib/data_access/arp_linux); |
| 25 |
#elif defined( freebsd7 ) || defined ( netbsd5 ) || defined( openbsd4 ) || defined( dragonfly ) || defined( darwin ) |
| 26 |
config_require(ip-mib/data_access/arp_sysctl); |
| 27 |
#else |
| 28 |
/* |
| 29 |
* couldn't determine the correct file! |
| 30 |
*/ |
| 31 |
config_error(the arp data access library is not available in this environment.); |
| 32 |
#endif |
| 33 |
|