summaryrefslogtreecommitdiff
blob: c96bbc9a7322e10ffbd3f246dd1d66eded60e312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- 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>