<netinet/ether.h> declares ether_hostton(), so the failure to find it
declared in <netinet/in_ether.h> doesn't cause us to assume we won't
find it anywhere.
Fix a typo in a comment.
-# From configure.in Revision: 1.117 .
+# From configure.in Revision: 1.118 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57.
#
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57.
#
# The simple test didn't work.
# Do we need to include <net/if.h> first?
# Unset ac_cv_header_netinet_if_ether_h so we don't
# The simple test didn't work.
# Do we need to include <net/if.h> first?
# Unset ac_cv_header_netinet_if_ether_h so we don't
- # tread the previous failure as a cached value and
+ # treat the previous failure as a cached value and
# suppress the next test.
#
{ echo "$as_me:$LINENO: Rechecking with some additional includes" >&5
# suppress the next test.
#
{ echo "$as_me:$LINENO: Rechecking with some additional includes" >&5
if test "$ac_cv_header_netinet_ether_h" = yes; then
#
# We have it - does it declare ether_hoston()?
if test "$ac_cv_header_netinet_ether_h" = yes; then
#
# We have it - does it declare ether_hoston()?
+ # Unset ac_cv_have_decl_ether_hostton so we don't
+ # treat the previous failure as a cached value and
+ # suppress the next test.
+ unset ac_cv_have_decl_ether_hostton
echo "$as_me:$LINENO: checking whether ether_hostton is declared" >&5
echo $ECHO_N "checking whether ether_hostton is declared... $ECHO_C" >&6
if test "${ac_cv_have_decl_ether_hostton+set}" = set; then
echo "$as_me:$LINENO: checking whether ether_hostton is declared" >&5
echo $ECHO_N "checking whether ether_hostton is declared... $ECHO_C" >&6
if test "${ac_cv_have_decl_ether_hostton+set}" = set; then
-dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.117 2005-03-27 02:45:03 guy Exp $ (LBL)
+dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.118 2005-03-27 03:36:36 guy Exp $ (LBL)
dnl
dnl Copyright (c) 1994, 1995, 1996, 1997
dnl The Regents of the University of California. All rights reserved.
dnl
dnl Copyright (c) 1994, 1995, 1996, 1997
dnl The Regents of the University of California. All rights reserved.
dnl Process this file with autoconf to produce a configure script.
dnl
dnl Process this file with autoconf to produce a configure script.
dnl
-AC_REVISION($Revision: 1.117 $)
+AC_REVISION($Revision: 1.118 $)
AC_PREREQ(2.50)
AC_INIT(pcap.c)
AC_PREREQ(2.50)
AC_INIT(pcap.c)
# The simple test didn't work.
# Do we need to include <net/if.h> first?
# Unset ac_cv_header_netinet_if_ether_h so we don't
# The simple test didn't work.
# Do we need to include <net/if.h> first?
# Unset ac_cv_header_netinet_if_ether_h so we don't
- # tread the previous failure as a cached value and
+ # treat the previous failure as a cached value and
# suppress the next test.
#
AC_MSG_NOTICE([Rechecking with some additional includes])
# suppress the next test.
#
AC_MSG_NOTICE([Rechecking with some additional includes])
if test "$ac_cv_header_netinet_ether_h" = yes; then
#
# We have it - does it declare ether_hoston()?
if test "$ac_cv_header_netinet_ether_h" = yes; then
#
# We have it - does it declare ether_hoston()?
+ # Unset ac_cv_have_decl_ether_hostton so we don't
+ # treat the previous failure as a cached value and
+ # suppress the next test.
+ unset ac_cv_have_decl_ether_hostton
AC_CHECK_DECLS(ether_hostton,
[
AC_DEFINE(NETINET_ETHER_H_DECLARES_ETHER_HOSTTON,,
AC_CHECK_DECLS(ether_hostton,
[
AC_DEFINE(NETINET_ETHER_H_DECLARES_ETHER_HOSTTON,,