summaryrefslogtreecommitdiff
path: root/net/ns/patches/patch-af
blob: db6710c4916039a81e13b745abf67147cd66fad9 (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
$NetBSD: patch-af,v 1.3 2003/09/03 13:42:45 seb Exp $

--- configure.orig	Sat Apr 13 00:34:24 2002
+++ configure
@@ -2939,7 +2939,7 @@
                 /usr/src/local/Tcl \
                 /usr/src/local/Tcl-1.0 \
                 "
-TCLCL_PROG_PLACES_D="$d"
+TCLCL_PROG_PLACES_D="$d/bin"
 
 
 
@@ -4154,7 +4154,7 @@
 fi
 done
 
-for ac_hdr in arpa/inet.h netinet/in.h string.h strings.h time.h unistd.h net/ethernet.h
+for ac_hdr in arpa/inet.h netinet/in.h string.h strings.h time.h unistd.h net/if.h net/ethernet.h netinet/if_ether.h sys/socket.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -4798,7 +4798,24 @@
 #include "confdefs.h"
 
 #include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#ifdef HAVE_NET_IF_H
+#include <net/if.h>
+#endif
+#ifdef HAVE_NET_ETHERNET_H
 #include <net/ethernet.h>
+#endif
+#ifdef HAVE_NETINET_IF_ETHER_H
+#include <netinet/if_ether.h>
+#endif
 
 int main() {
 
@@ -4838,7 +4855,24 @@ cat >conftest.$ac_ext <<EOF
 #include "confdefs.h"
 
 #include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#ifdef HAVE_NET_IF_H
+#include <net/if.h>
+#endif
+#ifdef HAVE_NET_ETHERNET_H
 #include <net/ethernet.h>
+#endif
+#ifdef HAVE_NETINET_IF_ETHER_H
+#include <netinet/if_ether.h>
+#endif
 
 int main() {
 
@@ -4967,6 +5001,9 @@ cat >conftest.$ac_ext <<_ACEOF
 #include "confdefs.h"
 
 #include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
 #include <netinet/tcp.h>
 
 int main() {
@@ -5111,11 +5148,8 @@ if test $ac_cv_lib_pcap_main = yes; then
   echo "$ac_t""no" 1>&6
 fi
 
-V_INCLUDES="$V_INCLUDES -I/usr/include/pcap"
-
-
 echo $ac_n "checking to make nse""... $ac_c" 1>&6
-echo "configure:5119: checking to make nse" >&5
+echo "configure:5153: checking to make nse" >&5
 if test $tcphdr = yes && test $pcap = yes; then
 		build_nse="nse"
 		echo "$ac_t""yes" 1>&6