diff options
author | Guy Harris <guy@alum.mit.edu> | 1998-11-17 02:17:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1998-11-17 02:17:27 +0000 |
commit | 8d616b03429fe2185782f5153d7b187a44698b5d (patch) | |
tree | 78efdcdfb3597e75e9cc90478f9f81f950e448fe /configure.in | |
parent | d8e026fc3bc769e0b6811c10524a8838ffce3e14 (diff) | |
download | wireshark-8d616b03429fe2185782f5153d7b187a44698b5d.tar.gz wireshark-8d616b03429fe2185782f5153d7b187a44698b5d.tar.bz2 wireshark-8d616b03429fe2185782f5153d7b187a44698b5d.zip |
Add a "acinclude.m4" file that defines a "AC_ETHEREAL_STRUCT_SA_LEN"
macro (modeled after similar macros provided with "autoconf") to check
whether "struct sockaddr" has an "sa_len" member, and defines or
undefines "HAVE_SA_LEN" appropriately. Use it instead of
"AC_LBL_SOCKADDR_SA_LEN", and use "HAVE_SA_LEN" instead of
"HAVE_SOCKADDR_SA_LEN".
svn path=/trunk/; revision=96
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 1824227b98..f881c8e67a 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.13 1998/11/17 02:02:46 guy Exp $ +# $Id: configure.in,v 1.14 1998/11/17 02:17:27 guy Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(etypes.h) @@ -91,9 +91,10 @@ AC_CHECK_HEADERS(sys/sockio.h sys/types.h netinet/in.h) dnl Checks for typedefs, structures, and compiler characteristics. # AC_C_CONST -# We need libpcap's AC_LBL_SOCKADDR_SA_LEN test for get_interface_list(). +# We need to know whether "struct sockaddr" has an "sa_len" member +# for get_interface_list(). -AC_LBL_SOCKADDR_SA_LEN +AC_ETHEREAL_STRUCT_SA_LEN # We must know our byte order AC_C_BIGENDIAN |