You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/cacti-spine/files/cacti-spine-0.8.8g-net-snmp...

20 lines
673 B

--- a/configure.ac
+++ b/configure.ac
@@ -251,14 +251,14 @@
# Net-SNMP includes v3 support and insists on crypto unless compiled --without-openssl
AC_MSG_CHECKING([if Net-SNMP needs crypto support])
-AC_TRY_COMPILE([#include <net-snmp-config.h>], [exit(NETSNMP_USE_OPENSSL != 1);],
+AC_TRY_COMPILE([#include <net-snmp/net-snmp-config.h>], [exit(NETSNMP_USE_OPENSSL != 1);],
[ AC_MSG_RESULT(yes)
SNMP_SSL=yes
],
AC_MSG_RESULT(no)
)
-AC_TRY_COMPILE([ #include <net-snmp-config.h>
+AC_TRY_COMPILE([ #include <net-snmp/net-snmp-config.h>
#include <net-snmp/utilities.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/config_api.h>