From: Ruben Kerkhof Date: Sat, 27 May 2017 10:30:35 +0000 (+0200) Subject: snmp-agent: check for the right header X-Git-Tag: collectd-5.8.0~164 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3e622ac2c92f665e235b64a56ff8567465640a04;p=collectd.git snmp-agent: check for the right header We never include net-snmp/agent/agent_module_config.h --- diff --git a/configure.ac b/configure.ac index b84b8991..1751a93c 100644 --- a/configure.ac +++ b/configure.ac @@ -3796,9 +3796,9 @@ if test "x$with_libnetsnmp" = "xyes"; then [with_libnetsnmp="no (net-snmp/net-snmp-config.h not found)"] ) - AC_CHECK_HEADERS([net-snmp/agent/agent_module_config.h], + AC_CHECK_HEADERS([net-snmp/agent/net-snmp-agent-includes.h], [], - [with_libnetsnmpagent="no (net-snmp/agent/agent_module_config.h not found)"] + [with_libnetsnmpagent="no (net-snmp/agent/net-snmp-agent-includes.h not found)"] ) CPPFLAGS="$SAVE_CPPFLAGS"