projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.ac: fix typo
[collectd.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
add1556
..
18314e2
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-3950,7
+3950,13
@@
if test "x$with_libnetsnmpagent" = "xyes"; then
)
AC_CHECK_LIB([netsnmpagent], [init_agent],
)
AC_CHECK_LIB([netsnmpagent], [init_agent],
- [with_libnetsnmpagent="yes"],
+ [
+ # libnetsnmp can be built without mib loading support
+ AC_CHECK_LIB([netsnmp], [get_tree],
+ [with_libnetsnmpagent="yes"],
+ [with_libnetsnmpagent="no (libnetsnmp doesn't support mib loading)"]
+ )
+ ],
[with_libnetsnmpagent="no (libnetsnmpagent not found)"],
[$libnetsnmphelpers]
)
[with_libnetsnmpagent="no (libnetsnmpagent not found)"],
[$libnetsnmphelpers]
)