changeset 52590:ae8115a00e62

Check members of struct ifreq.
author Dave Love <fx@gnu.org>
date Tue, 23 Sep 2003 12:39:44 +0000
parents fc78d0eb33d4
children 03137a8dc8cb
files configure.in
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Tue Sep 23 10:46:15 2003 +0000
+++ b/configure.in	Tue Sep 23 12:39:44 2003 +0000
@@ -1514,6 +1514,9 @@
 		[AC_DEFINE(HAVE_TM_GMTOFF, 1,
 			   [Define to 1 if `tm_gmtoff' is member of `struct tm'.])],,
 		[#include <time.h>])
+AC_CHECK_MEMBERS([struct ifreq.ifr_flags, struct ifreq.ifr_hwaddr, 
+		  struct ifreq.ifr_netmask, struct ifreq.ifr_broadaddr,
+		  struct ifreq.ifr_addr], , ,[#include <net/if.h>])
 
 dnl checks for compiler characteristics