aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
+}