gentoo-overlay/net-analyzer/cacti-spine/files/cacti-spine-0.8.8e-net-snmp.patch

20 lines
572 B
Diff
Raw Normal View History

--- a/configure.ac
+++ b/configure.ac
@@ -254,14 +254,14 @@
)
AC_MSG_CHECKING([if Net-SNMP needs crypto support])
-AC_TRY_COMPILE([#include <net-snmp-config.h>], [exit(USE_OPENSSL != 1);],
+AC_TRY_COMPILE([#include <net-snmp/net-snmp-config.h>], [exit(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>