comparison configure.in @ 262:a3a68c25035e

* workaround for systems such as glibc 2.1 that have sockaddr_storage.__ss_family rather than sockaddr_storage.ss_family
author Matt Johnston <matt@ucc.asn.au>
date Tue, 06 Dec 2005 17:49:59 +0000
parents 8b62b0ea8f3b
children fa9c45d09727
comparison
equal deleted inserted replaced
261:82393badfa24 262:a3a68c25035e
337 #if HAVE_UTMP_H 337 #if HAVE_UTMP_H
338 #include <utmp.h> 338 #include <utmp.h>
339 #endif 339 #endif
340 ]) 340 ])
341 341
342 AC_CHECK_MEMBERS([struct utmpx.ut_host, struct utmpx.ut_syslen, struct utmpx.ut_type, struct utmpx.ut_id, struct utmpx.ut_addr, struct utmpx.ut_addr_v6, struct utmpx.ut_time, struct utmpx.ut_tv],,,[ 342 AC_CHECK_MEMBERS([struct utmpx.ut_host, struct utmpx.ut_syslen, struct utmpx.ut_type, struct utmpx.ut_id, struct utmpx.ut_addr, struct utmpx.ut_addr_v6, struct utmpx.ut_time, struct utmpx.ut_tv, struct sockaddr_storage.ss_family, struct sockadd_storage.__family],,,[
343 #include <sys/types.h> 343 #include <sys/types.h>
344 #include <sys/socket.h>
344 #if HAVE_UTMPX_H 345 #if HAVE_UTMPX_H
345 #include <utmpx.h> 346 #include <utmpx.h>
346 #endif 347 #endif
347 ]) 348 ])
348 349