aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-03-15 16:53:22 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-03-15 16:53:22 +0000
commit0822c46070f35fcd1926a0af3e7ac2d1e538f95f (patch)
tree011a884d49040e361232eb69e7a1f350db1ee534
parent1d06320825d2a9e214cc324c2b2e833aba3edf4a (diff)
added library-masterfile snmp.c;
added check for libsnmp svn path=/trunk/externals/iem/snmp/; revision=7493
-rw-r--r--configure.ac1
-rw-r--r--snmp.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4b752f7..c967c7b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,6 +45,7 @@ dnl AC_CHECK_LIB(pthread, main)
dnl Replace `main' with a function in -lstk:
dnl AC_CHECK_LIB(stk, main, STK=yes)
+AC_CHECK_LIB(snmp, snmp_parse_oid)
if test "x$with_pd" != "x"; then
if test -d "${with_pd}/src"; then
diff --git a/snmp.c b/snmp.c
new file mode 100644
index 0000000..1087c85
--- /dev/null
+++ b/snmp.c
@@ -0,0 +1,4 @@
+void snmp_setup(void)
+{
+ snmpget_setup();
+}