diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-03-15 16:53:22 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-03-15 16:53:22 +0000 |
commit | 0822c46070f35fcd1926a0af3e7ac2d1e538f95f (patch) | |
tree | 011a884d49040e361232eb69e7a1f350db1ee534 | |
parent | 1d06320825d2a9e214cc324c2b2e833aba3edf4a (diff) |
added library-masterfile snmp.c;
added check for libsnmp
svn path=/trunk/externals/iem/snmp/; revision=7493
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | snmp.c | 4 |
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 @@ -0,0 +1,4 @@ +void snmp_setup(void) +{ + snmpget_setup(); +} |