comparison configure.in @ 335:e17f0333c21e

Another stab at getting ss_family happy on older glibc
author Matt Johnston <matt@ucc.asn.au>
date Mon, 12 Jun 2006 15:57:14 +0000
parents fa9c45d09727
children 2dd116db1956
comparison
equal deleted inserted replaced
334:8f3ec7c104d9 335:e17f0333c21e
340 #if HAVE_UTMP_H 340 #if HAVE_UTMP_H
341 #include <utmp.h> 341 #include <utmp.h>
342 #endif 342 #endif
343 ]) 343 ])
344 344
345 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],,,[ 345 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],,,[
346 #include <sys/types.h> 346 #include <sys/types.h>
347 #include <sys/socket.h> 347 #include <sys/socket.h>
348 #if HAVE_UTMPX_H 348 #if HAVE_UTMPX_H
349 #include <utmpx.h> 349 #include <utmpx.h>
350 #endif 350 #endif
351 ]) 351 ])
352
353 AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family],,,[])
352 354
353 AC_CHECK_FUNCS(endutent getutent getutid getutline pututline setutent) 355 AC_CHECK_FUNCS(endutent getutent getutid getutline pututline setutent)
354 AC_CHECK_FUNCS(utmpname) 356 AC_CHECK_FUNCS(utmpname)
355 AC_CHECK_FUNCS(endutxent getutxent getutxid getutxline pututxline ) 357 AC_CHECK_FUNCS(endutxent getutxent getutxid getutxline pututxline )
356 AC_CHECK_FUNCS(setutxent utmpxname) 358 AC_CHECK_FUNCS(setutxent utmpxname)