$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 +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#ifdef HAVE_NETINET_IN_H +#include +#endif +#ifdef HAVE_NET_IF_H +#include +#endif +#ifdef HAVE_NET_ETHERNET_H #include +#endif +#ifdef HAVE_NETINET_IF_ETHER_H +#include +#endif int main () @@ -6563,7 +6580,24 @@ cat >conftest.$ac_ext <<_ACEOF #include "confdefs.h" #include +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#ifdef HAVE_NETINET_IN_H +#include +#endif +#ifdef HAVE_NET_IF_H +#include +#endif +#ifdef HAVE_NET_ETHERNET_H #include +#endif +#ifdef HAVE_NETINET_IF_ETHER_H +#include +#endif int main () @@ -6783,6 +6817,9 @@ cat >conftest.$ac_ext <<_ACEOF #include "confdefs.h" #include +#ifdef HAVE_SYS_TYPES_H +#include +#endif #include 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"