Package: hammerhead
Version: 2.1.3-7
Severity: important
Tags: patch
Hi,
currently your package FTBFS on GNU/kFreeBSD with the following error:
> make[2]: Entering directory `/build/buildd/hammerhead-2.1.3/src'
> g++ -O2 -fomit-frame-pointer -DHAMMER_VSN=\"2.1.3\" -MM -pthread -O3
> -fomit-frame-pointer -Wall -D_THREAD_SAFE -I.. -D_REENTRANT -DGNU/kFreeBSD
> config.cc hammerhead.cc if.cc scenario.cc str.cc thread.cc session.cc
> statistics.cc hrtime.cc spinlock.cc connection.cc reader.cc cmdline.cc >
> depend.tmp
> sed -e "s+^.*:+obj/GNU/kFreeBSD/&+" depend.tmp > obj/GNU/kFreeBSD/.sdepend
> /bin/sh: obj/GNU/kFreeBSD/.sdepend: No such file or directory
> make[2]: *** [sdepend] Error 1
Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=hammerhead&ver=2.1.3-7>.
Please find attached a patch to help detecting GNU/kFreeBSD (and other GNU
variants). You might want to skip the configure patch and run autoconf
yourself.
Cheers,
--
Cyril Brulebois
--- hammerhead-2.1.3/Makefile.in 2002-11-13 04:14:22.000000000 +0100
+++ hammerhead-2.1.3/Makefile.in 2007-03-12 22:39:49.000000000 +0100
@@ -13,6 +13,12 @@
TARGET_OS=$(shell uname)
INSTALL=install
+ifneq (, $(filter GNU GNU/%, $(TARGET_OS)))
+ # Aliasing GNU(/Hurd) and GNU/k*BSD to Linux.
+ TARGET_OS=Linux
+endif
+
+
include vsn.mk
include hammer.mk
--- hammerhead-2.1.3/configure.in 2001-07-16 03:46:19.000000000 +0200
+++ hammerhead-2.1.3/configure.in 2007-03-12 22:39:49.000000000 +0100
@@ -26,13 +26,7 @@
dnl System properties
case "$target_os" in
-*freebsd*)
- AC_DEFINE(BSD)
- AC_DEFINE(USE_BPF)
- TARGET_OS=FreeBSD
- AC_SUBST(TARGET_OS)
- ;;
-*linux*)
+*linux*|*k*bsd*|*gnu*)
AC_DEFINE(LINUX)
AC_DEFINE(USE_IFALIAS)
AC_DEFINE(USE_SOCKET)
@@ -41,6 +35,12 @@
TARGET_OS=Linux
AC_SUBST(TARGET_OS)
;;
+*freebsd*)
+ AC_DEFINE(BSD)
+ AC_DEFINE(USE_BPF)
+ TARGET_OS=FreeBSD
+ AC_SUBST(TARGET_OS)
+ ;;
*solaris*)
AC_DEFINE(SOLARIS)
AC_DEFINE(USE_IFALIAS)
--- hammerhead-2.1.3/src/Makefile 2003-03-04 00:18:48.000000000 +0100
+++ hammerhead-2.1.3/src/Makefile 2007-03-12 22:39:49.000000000 +0100
@@ -32,6 +32,12 @@
#
OS=$(shell uname)
+
+ifneq (, $(filter GNU GNU/%, $(OS)))
+ # Aliasing GNU(/Hurd) and GNU/k*BSD to Linux.
+ OS=Linux
+endif
+
OBJPATH=obj/$(OS)/
DEFS=-D_REENTRANT -D$(OS)
--- hammerhead-2.1.3/configure 2002-11-13 04:05:06.000000000 +0100
+++ hammerhead-2.1.3/configure 2007-03-12 22:39:49.000000000 +0100
@@ -704,19 +704,7 @@
case "$target_os" in
-*freebsd*)
- cat >> confdefs.h <<\EOF
-#define BSD 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define USE_BPF 1
-EOF
-
- TARGET_OS=FreeBSD
-
- ;;
-*linux*)
+*linux*|*k*bsd*|*gnu*)
cat >> confdefs.h <<\EOF
#define LINUX 1
EOF
@@ -736,6 +724,18 @@
TARGET_OS=Linux
;;
+*freebsd*)
+ cat >> confdefs.h <<\EOF
+#define BSD 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define USE_BPF 1
+EOF
+
+ TARGET_OS=FreeBSD
+
+ ;;
*solaris*)
cat >> confdefs.h <<\EOF
#define SOLARIS 1
@@ -2256,6 +2256,7 @@
#line 2257 "configure"
#include "confdefs.h"
#include <stdio.h>
+#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
@@ -2264,7 +2265,7 @@
exit(0);
}
EOF
-if { (eval echo configure:2268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_char=`cat conftestval`
else
@@ -2284,7 +2285,7 @@
echo $ac_n "checking size of short""... $ac_c" 1>&6
-echo "configure:2288: checking size of short" >&5
+echo "configure:2289: checking size of short" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2292,9 +2293,10 @@
ac_cv_sizeof_short=2
else
cat > conftest.$ac_ext <<EOF
-#line 2296 "configure"
+#line 2297 "configure"
#include "confdefs.h"
#include <stdio.h>
+#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
@@ -2303,7 +2305,7 @@
exit(0);
}
EOF
-if { (eval echo configure:2307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_short=`cat conftestval`
else
@@ -2323,7 +2325,7 @@
echo $ac_n "checking size of int""... $ac_c" 1>&6
-echo "configure:2327: checking size of int" >&5
+echo "configure:2329: checking size of int" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2331,9 +2333,10 @@
ac_cv_sizeof_int=4
else
cat > conftest.$ac_ext <<EOF
-#line 2335 "configure"
+#line 2337 "configure"
#include "confdefs.h"
#include <stdio.h>
+#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
@@ -2342,7 +2345,7 @@
exit(0);
}
EOF
-if { (eval echo configure:2346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_int=`cat conftestval`
else
@@ -2362,7 +2365,7 @@
echo $ac_n "checking size of long""... $ac_c" 1>&6
-echo "configure:2366: checking size of long" >&5
+echo "configure:2369: checking size of long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2370,9 +2373,10 @@
ac_cv_sizeof_long=4
else
cat > conftest.$ac_ext <<EOF
-#line 2374 "configure"
+#line 2377 "configure"
#include "confdefs.h"
#include <stdio.h>
+#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
@@ -2381,7 +2385,7 @@
exit(0);
}
EOF
-if { (eval echo configure:2385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_long=`cat conftestval`
else
@@ -2401,7 +2405,7 @@
echo $ac_n "checking size of long long""... $ac_c" 1>&6
-echo "configure:2405: checking size of long long" >&5
+echo "configure:2409: checking size of long long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2409,9 +2413,10 @@
ac_cv_sizeof_long_long=8
else
cat > conftest.$ac_ext <<EOF
-#line 2413 "configure"
+#line 2417 "configure"
#include "confdefs.h"
#include <stdio.h>
+#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
@@ -2420,7 +2425,7 @@
exit(0);
}
EOF
-if { (eval echo configure:2424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_long_long=`cat conftestval`
else
@@ -2566,12 +2571,12 @@
fi
echo $ac_n "checking for sockaddr{} in sys/socket.h""... $ac_c" 1>&6
-echo "configure:2570: checking for sockaddr{} in sys/socket.h" >&5
+echo "configure:2575: checking for sockaddr{} in sys/socket.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_sockaddr_SYS_SOCKET_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2575 "configure"
+#line 2580 "configure"
#include "confdefs.h"
#include <sys/socket.h>
EOF
@@ -2600,12 +2605,12 @@
fi
echo $ac_n "checking for in_addr{} in netinet/in.h""... $ac_c" 1>&6
-echo "configure:2604: checking for in_addr{} in netinet/in.h" >&5
+echo "configure:2609: checking for in_addr{} in netinet/in.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_in_addr_NETINET_IN_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2609 "configure"
+#line 2614 "configure"
#include "confdefs.h"
#include <netinet/in.h>
EOF
@@ -2634,12 +2639,12 @@
fi
echo $ac_n "checking for sockaddr_in{} in netinet/in.h""... $ac_c" 1>&6
-echo "configure:2638: checking for sockaddr_in{} in netinet/in.h" >&5
+echo "configure:2643: checking for sockaddr_in{} in netinet/in.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_sockaddr_in_NETINET_IN_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2643 "configure"
+#line 2648 "configure"
#include "confdefs.h"
#include <netinet/in.h>
EOF
@@ -2668,12 +2673,12 @@
fi
echo $ac_n "checking for arpreq{} in net/if_arp.h""... $ac_c" 1>&6
-echo "configure:2672: checking for arpreq{} in net/if_arp.h" >&5
+echo "configure:2677: checking for arpreq{} in net/if_arp.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_arpreq_NET_IF_ARP_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2677 "configure"
+#line 2682 "configure"
#include "confdefs.h"
#include <net/if_arp.h>
EOF
@@ -2702,12 +2707,12 @@
fi
echo $ac_n "checking for ether_header{} in net/ethernet.h""... $ac_c" 1>&6
-echo "configure:2706: checking for ether_header{} in net/ethernet.h" >&5
+echo "configure:2711: checking for ether_header{} in net/ethernet.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_ether_header_NET_ETHERNET_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2711 "configure"
+#line 2716 "configure"
#include "confdefs.h"
#include <net/ethernet.h>
EOF
@@ -2736,12 +2741,12 @@
fi
echo $ac_n "checking for ether_header{} in sys/ethernet.h""... $ac_c" 1>&6
-echo "configure:2740: checking for ether_header{} in sys/ethernet.h" >&5
+echo "configure:2745: checking for ether_header{} in sys/ethernet.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_ether_header_SYS_ETHERNET_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2745 "configure"
+#line 2750 "configure"
#include "confdefs.h"
#include <sys/ethernet.h>
EOF
@@ -2770,12 +2775,12 @@
fi
echo $ac_n "checking for ethhdr{} in net/ethernet.h""... $ac_c" 1>&6
-echo "configure:2774: checking for ethhdr{} in net/ethernet.h" >&5
+echo "configure:2779: checking for ethhdr{} in net/ethernet.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_ethhdr_NET_ETHERNET_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2779 "configure"
+#line 2784 "configure"
#include "confdefs.h"
#include <net/ethernet.h>
EOF
@@ -2809,12 +2814,12 @@
;;
*)
echo $ac_n "checking for sockaddr_dl{} in net/if_dl.h""... $ac_c" 1>&6
-echo "configure:2813: checking for sockaddr_dl{} in net/if_dl.h" >&5
+echo "configure:2818: checking for sockaddr_dl{} in net/if_dl.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_sockaddr_dl_NET_IF_DL_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2818 "configure"
+#line 2823 "configure"
#include "confdefs.h"
#include <net/if_dl.h>
EOF
@@ -2843,12 +2848,12 @@
fi
echo $ac_n "checking for sockaddr_dl{} in net/if_dl.h""... $ac_c" 1>&6
-echo "configure:2847: checking for sockaddr_dl{} in net/if_dl.h" >&5
+echo "configure:2852: checking for sockaddr_dl{} in net/if_dl.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_sockaddr_dl_HAVE_sockaddr_dl'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2852 "configure"
+#line 2857 "configure"
#include "confdefs.h"
#include <net/if_dl.h>
EOF
@@ -2877,12 +2882,12 @@
fi
echo $ac_n "checking for ether_header{} in netinet/if_ether.h""... $ac_c" 1>&6
-echo "configure:2881: checking for ether_header{} in netinet/if_ether.h" >&5
+echo "configure:2886: checking for ether_header{} in netinet/if_ether.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_ether_header_NETINET_IF_ETHER_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2886 "configure"
+#line 2891 "configure"
#include "confdefs.h"
#include <netinet/if_ether.h>
EOF
@@ -2914,12 +2919,12 @@
esac
echo $ac_n "checking for ETHER_ADDR_LEN in net/ethernet.h""... $ac_c" 1>&6
-echo "configure:2918: checking for ETHER_ADDR_LEN in net/ethernet.h" >&5
+echo "configure:2923: checking for ETHER_ADDR_LEN in net/ethernet.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_ETHER_ADDR_LEN_NET_ETHERNET_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2923 "configure"
+#line 2928 "configure"
#include "confdefs.h"
# include <net/ethernet.h>
@@ -2953,12 +2958,12 @@
fi
echo $ac_n "checking for ETHERADDRL in sys/ethernet.h""... $ac_c" 1>&6
-echo "configure:2957: checking for ETHERADDRL in sys/ethernet.h" >&5
+echo "configure:2962: checking for ETHERADDRL in sys/ethernet.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_ETHERADDRL_SYS_ETHERNET_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2962 "configure"
+#line 2967 "configure"
#include "confdefs.h"
# include <sys/ethernet.h>
@@ -2992,12 +2997,12 @@
fi
echo $ac_n "checking for SIOCGIFCONF in sys/sockio.h""... $ac_c" 1>&6
-echo "configure:2996: checking for SIOCGIFCONF in sys/sockio.h" >&5
+echo "configure:3001: checking for SIOCGIFCONF in sys/sockio.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_SIOCGIFCONF_SYS_SOCKIO_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3001 "configure"
+#line 3006 "configure"
#include "confdefs.h"
# include <sys/sockio.h>
@@ -3031,12 +3036,12 @@
fi
echo $ac_n "checking for SIOCGIFHWADDR in sys/sockio.h""... $ac_c" 1>&6
-echo "configure:3035: checking for SIOCGIFHWADDR in sys/sockio.h" >&5
+echo "configure:3040: checking for SIOCGIFHWADDR in sys/sockio.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_SIOCGIFHWADDR_SYS_SOCKIO_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3040 "configure"
+#line 3045 "configure"
#include "confdefs.h"
# include <sys/sockio.h>
@@ -3070,12 +3075,12 @@
fi
echo $ac_n "checking for SIOCGIFHWADDR in sys/socketio.h""... $ac_c" 1>&6
-echo "configure:3074: checking for SIOCGIFHWADDR in sys/socketio.h" >&5
+echo "configure:3079: checking for SIOCGIFHWADDR in sys/socketio.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_SIOCGIFHWADDR_SYS_SOCKETIO_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3079 "configure"
+#line 3084 "configure"
#include "confdefs.h"
# include <sys/socketio.h>
@@ -3109,12 +3114,12 @@
fi
echo $ac_n "checking for SIOCGIFHWADDR in linux/sockios.h""... $ac_c" 1>&6
-echo "configure:3113: checking for SIOCGIFHWADDR in linux/sockios.h" >&5
+echo "configure:3118: checking for SIOCGIFHWADDR in linux/sockios.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_SIOCGIFHWADDR_LINUX_SOCKIOS_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3118 "configure"
+#line 3123 "configure"
#include "confdefs.h"
# include <linux/sockios.h>
@@ -3148,12 +3153,12 @@
fi
echo $ac_n "checking for SIOCGARP in sys/sockio.h""... $ac_c" 1>&6
-echo "configure:3152: checking for SIOCGARP in sys/sockio.h" >&5
+echo "configure:3157: checking for SIOCGARP in sys/sockio.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_SIOCGARP_SYS_SOCKIO_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3157 "configure"
+#line 3162 "configure"
#include "confdefs.h"
# include <sys/sockio.h>
@@ -3187,12 +3192,12 @@
fi
echo $ac_n "checking for DLIOCRAW in sys/dlpi.h""... $ac_c" 1>&6
-echo "configure:3191: checking for DLIOCRAW in sys/dlpi.h" >&5
+echo "configure:3196: checking for DLIOCRAW in sys/dlpi.h" >&5
if eval "test \"`echo '$''{'ac_cv_have_DLIOCRAW_SYS_DLPI_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3196 "configure"
+#line 3201 "configure"
#include "confdefs.h"
# include <sys/dlpi.h>
@@ -3227,12 +3232,12 @@
echo $ac_n "checking if sa_len_in_sockaddr{}""... $ac_c" 1>&6
-echo "configure:3231: checking if sa_len_in_sockaddr{}" >&5
+echo "configure:3236: checking if sa_len_in_sockaddr{}" >&5
if eval "test \"`echo '$''{'ac_cv_sockaddr_has_sa_len'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3236 "configure"
+#line 3241 "configure"
#include "confdefs.h"
# include <sys/types.h>
@@ -3241,7 +3246,7 @@
unsigned int i = sizeof(((struct sockaddr *)0)->sa_len)
; return 0; }
EOF
-if { (eval echo configure:3245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_sockaddr_has_sa_len=yes
else
@@ -3270,12 +3275,12 @@
fi
echo $ac_n "checking if ether_header_uses_ether_addr{}""... $ac_c" 1>&6
-echo "configure:3274: checking if ether_header_uses_ether_addr{}" >&5
+echo "configure:3279: checking if ether_header_uses_ether_addr{}" >&5
if eval "test \"`echo '$''{'ac_cv_ether_header_uses_ether_addr'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3279 "configure"
+#line 3284 "configure"
#include "confdefs.h"
# include <sys/types.h>
@@ -3284,7 +3289,7 @@
struct ether_addr a; struct ether_header b; a = b.ether_dhost;
; return 0; }
EOF
-if { (eval echo configure:3288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_ether_header_uses_ether_addr=yes
else
@@ -3306,17 +3311,17 @@
ac_safe=`echo "kstat.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for kstat.h""... $ac_c" 1>&6
-echo "configure:3310: checking for kstat.h" >&5
+echo "configure:3315: checking for kstat.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3315 "configure"
+#line 3320 "configure"
#include "confdefs.h"
#include <kstat.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:3325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*