comparison configure.in @ 336:2dd116db1956

Can't check for ss_family without #including sys/socket.h
author Matt Johnston <matt@ucc.asn.au>
date Mon, 12 Jun 2006 16:03:52 +0000
parents e17f0333c21e
children 59531221b846
comparison
equal deleted inserted replaced
335:e17f0333c21e 336:2dd116db1956
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 352
353 AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family],,,[]) 353 AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family],,,[
354 #include <sys/types.h>
355 #include <sys/socket.h>
356 ])
354 357
355 AC_CHECK_FUNCS(endutent getutent getutid getutline pututline setutent) 358 AC_CHECK_FUNCS(endutent getutent getutid getutline pututline setutent)
356 AC_CHECK_FUNCS(utmpname) 359 AC_CHECK_FUNCS(utmpname)
357 AC_CHECK_FUNCS(endutxent getutxent getutxid getutxline pututxline ) 360 AC_CHECK_FUNCS(endutxent getutxent getutxid getutxline pututxline )
358 AC_CHECK_FUNCS(setutxent utmpxname) 361 AC_CHECK_FUNCS(setutxent utmpxname)