configure.ac: improve libnetsnmpagent detection
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 27 May 2017 11:37:06 +0000 (13:37 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 27 May 2017 11:37:06 +0000 (13:37 +0200)
commit6466fcb423f2a7f4af2a4558b9871488c5628671
tree0aeeac2c98ed8736a3f1f52b97287c3960d96728
parent3e622ac2c92f665e235b64a56ff8567465640a04
configure.ac: improve libnetsnmpagent detection

Turn it into a separate check, which also makes it possible to disable
it.

snmp_agent and snmp are separate plugins, and on at least Fedora are
packaged separately.

A beneficial side effect is that this reduces overlinking of snmp.so
with libnetsnmpagent.so
Makefile.am
configure.ac