summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-ac
blob: bc8ce2dfa3c176e434ff2a99140ff466d2bd808d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
$NetBSD: patch-ac,v 1.5 2007/05/20 13:55:28 seb Exp $

--- configure.in.orig	2006-11-24 17:53:18.000000000 +0000
+++ configure.in
@@ -2670,6 +2670,8 @@ elif test "x$askedpkcs" = "xyes"; then
     AC_CHECK_LIB(pkcs11, C_Initialize)
 fi
 
+AC_CHECK_LIB(des, des_cbc_encrypt)
+
 # Check for libraries that the agent needs
 # saving old libraries
 NONAGENTLIBS=$LIBS
@@ -3347,6 +3349,12 @@ AC_CHECK_HEADERS(netinet/ip6.h netinet6/
 #if HAVE_NETINET_IP6_H
 #include <netinet/ip6.h>
 #endif
+#if HAVE_NET_IF_H
+#include <net/if.h>
+#endif
+#if HAVE_NET_ROUTE_H
+#include <net/route.h>
+#endif
 ]])
 # DYNAMIC MODULE SUPPORT
 AC_CHECK_HEADERS(dlfcn.h)
@@ -3732,7 +3740,9 @@ AC_CHECK_STRUCT_FOR([
 #endif
 #include <sys/types.h>
 #define KERNEL
+#if !defined(__DragonFly__)
 #define _KERNEL
+#endif
 #include <sys/socket.h>
 #undef KERNEL
 #undef _KERNEL
@@ -3744,7 +3754,9 @@ AC_CHECK_STRUCT_FOR([
 #endif
 #include <sys/types.h>
 #define KERNEL
+#if !defined(__DragonFly__)
 #define _KERNEL
+#endif
 #include <sys/socket.h>
 #undef KERNEL
 #undef _KERNEL
@@ -3780,7 +3792,9 @@ AC_CHECK_STRUCT_FOR([
 #endif
 #include <sys/types.h>
 #define KERNEL
+#if !defined(__DragonFly__)
 #define _KERNEL
+#endif
 #include <sys/socket.h>
 #undef KERNEL
 #undef _KERNEL
@@ -3798,7 +3812,9 @@ AC_TRY_COMPILE([
 #endif
 #include <sys/types.h>
 #define KERNEL
+#if !defined(__DragonFly__)
 #define _KERNEL
+#endif
 #include <sys/socket.h>
 #undef KERNEL
 #undef _KERNEL
@@ -3822,7 +3838,9 @@ AC_TRY_COMPILE([
 #endif
 #include <sys/types.h>
 #define KERNEL
+#if !defined(__DragonFly__)
 #define _KERNEL
+#endif
 #include <sys/socket.h>
 #undef KERNEL
 #undef _KERNEL
@@ -3879,7 +3897,9 @@ AC_TRY_COMPILE([
 #endif
 #include <sys/types.h>
 #define KERNEL
+#if !defined(__DragonFly__)
 #define _KERNEL
+#endif
 #include <sys/socket.h>
 #undef KERNEL
 #undef _KERNEL
@@ -3903,7 +3923,9 @@ AC_CHECK_STRUCT_FOR([
 #endif
 #include <sys/types.h>
 #define KERNEL
+#if !defined(__DragonFly__)
 #define _KERNEL
+#endif
 #include <sys/socket.h>
 #undef KERNEL
 #undef _KERNEL
@@ -3916,7 +3938,9 @@ AC_CHECK_STRUCT_FOR([
 #endif
 #include <sys/types.h>
 #define KERNEL
+#if !defined(__DragonFly__)
 #define _KERNEL
+#endif
 #include <sys/socket.h>
 #undef KERNEL
 #undef _KERNEL
@@ -3929,7 +3953,9 @@ AC_CHECK_STRUCT_FOR([
 #endif
 #include <sys/types.h>
 #define KERNEL
+#if !defined(__DragonFly__)
 #define _KERNEL
+#endif
 #include <sys/socket.h>
 #undef KERNEL
 #undef _KERNEL
@@ -3942,7 +3968,9 @@ AC_CHECK_STRUCT_FOR([
 #endif
 #include <sys/types.h>
 #define KERNEL
+#if !defined(__DragonFly__)
 #define _KERNEL
+#endif
 #include <sys/socket.h>
 #undef KERNEL
 #undef _KERNEL