aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.win32
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2002-10-09 03:07:34 +0000
committerGerald Combs <gerald@wireshark.org>2002-10-09 03:07:34 +0000
commitec8fd2703a5109dd62d4397396c2ca7abe852c0f (patch)
treec71da8d3733729de068c4ca9f50de01456a2fe57 /config.h.win32
parent6743236a10df320d04d8297ac7d3dd6a530b56af (diff)
Link to libsnmp under Win32.
In gtk/main.c and tethereal.c set MIBDIRS to <get_program_path()>\snmp\mibs so that we can drop the MIB files there, instead of the default c:\usr\... path. Add NET_SNMP_DIR to config.nmake and modify Makefile.nmake to adjust CFLAGs, ethereal_LIBS and tethereal_LIBS accordingly. Define HAVE_UCD_SNMP in config.h.win32. I tested this by creating c:\program files\ethereal\snmp\mibs and dropping in the MIB files that come with Net-SNMP. Ethereal resolved system.sysDescr.0 to "iso.3.6.1.2.1.1.1.0" under Windows. Under Linux it resolved to "SNMPv2-MIB::sysDescr.0". Ethereal.nsi still needs to be updated. A compiled version of the Net-SNMP library can be found at http://www.ethereal.com/distribution/win32/development/ svn path=/trunk/; revision=6385
Diffstat (limited to 'config.h.win32')
-rw-r--r--config.h.win324
1 files changed, 2 insertions, 2 deletions
diff --git a/config.h.win32 b/config.h.win32
index 530ec19993..e248456425 100644
--- a/config.h.win32
+++ b/config.h.win32
@@ -1,4 +1,4 @@
-/* $Id: config.h.win32,v 1.36 2002/09/10 08:23:10 guy Exp $ */
+/* $Id: config.h.win32,v 1.37 2002/10/09 03:07:26 gerald Exp $ */
/* config.h.win32 Generated manually. :-) */
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
@@ -43,7 +43,7 @@
#define HAVE_LIBPCAP 1
-/* #undef HAVE_UCD_SNMP */
+#define HAVE_UCD_SNMP 1
/* Define if you have the gethostbyname2 function. */
/* #undef HAVE_GETHOSTBYNAME2 */