Code

snmp-agent: check for the right header
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 27 May 2017 10:30:35 +0000 (12:30 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 27 May 2017 10:30:35 +0000 (12:30 +0200)
We never include net-snmp/agent/agent_module_config.h

configure.ac

index b84b8991f34f4bb3e58fed198355423ebc2474aa..1751a93ce949657925b56ddfbc6151f4504efae7 100644 (file)
@@ -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"