From 0822c46070f35fcd1926a0af3e7ac2d1e538f95f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 15 Mar 2007 16:53:22 +0000 Subject: added library-masterfile snmp.c; added check for libsnmp svn path=/trunk/externals/iem/snmp/; revision=7493 --- configure.ac | 1 + snmp.c | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 snmp.c 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(); +} -- cgit v1.2.1