Annotation of embedaddon/php/ext/snmp/config.w32, revision 1.1.1.2
1.1.1.2 ! misho 1: // $Id$
1.1 misho 2: // vim:ft=javascript
3:
4: ARG_WITH("snmp", "SNMP support", "no");
5:
6: if (PHP_SNMP != "no") {
7: if (CHECK_HEADER_ADD_INCLUDE("snmp.h", "CFLAGS_SNMP", PHP_PHP_BUILD + "\\include\\net-snmp;" + PHP_SNMP)) {
8: if (CHECK_LIB("netsnmp.lib", "snmp", PHP_SNMP)) {
9: EXTENSION('snmp', 'snmp.c');
10: CHECK_LIB("libeay32.lib", "snmp", PHP_SNMP)
11: AC_DEFINE('HAVE_SNMP', 1);
12: AC_DEFINE("HAVE_NET_SNMP", 1);
13: } else {
14: WARNING("snmp not enabled; libraries and headers not found");
15: }
16: } else {
17: WARNING("snmp not enabled; libraries and headers not found");
18: }
19: }
20:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>