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
|
$NetBSD: patch-af,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
--- configure.orig Sat Apr 13 00:34:24 2002
+++ configure
@@ -4082,7 +4082,7 @@ TCLCL_PROG_PLACES="\
/usr/src/local/Tcl \
/usr/src/local/Tcl-1.0 \
"
-TCLCL_PROG_PLACES_D="$d"
+TCLCL_PROG_PLACES_D="$d/bin"
NS_PACKAGE_tclcl_UNDERWAY=false
NS_PACKAGE_tclcl_COMPLETE=true
@@ -5422,7 +5422,7 @@ EOF
fi
done
-for ac_header in arpa/inet.h netinet/in.h string.h strings.h time.h unistd.h net/ethernet.h
+for ac_header 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
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:5428: checking for $ac_header" >&5
@@ -6509,7 +6509,24 @@ cat >conftest.$ac_ext <<_ACEOF
#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 ()
@@ -6563,7 +6580,24 @@ cat >conftest.$ac_ext <<_ACEOF
#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 ()
@@ -6783,6 +6817,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
@@ -6874,9 +6911,7 @@ if test $ac_cv_lib_pcap_main = yes; then
V_LIB="$V_LIB -lpcap" pcap=yes
fi
-V_INCLUDES="$V_INCLUDES -I/usr/include/pcap"
-
-echo "$as_me:6879: checking to make nse" >&5
+echo "$as_me:6914: checking to make nse" >&5
echo $ECHO_N "checking to make nse... $ECHO_C" >&6
if test $tcphdr = yes && test $pcap = yes; then
build_nse="nse"
|