mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
waf: check for utmpx struct member ut_host
BUG: https://bugzilla.samba.org/show_bug.cgi?id=2489 Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
36ff1a5126
commit
c53e8de43c
@ -809,6 +809,8 @@ msg.msg_accrightslen = sizeof(fd);
|
|||||||
define='HAVE_UT_UT_EXIT')
|
define='HAVE_UT_UT_EXIT')
|
||||||
conf.CHECK_STRUCTURE_MEMBER('struct utmpx', 'ut_syslen', headers='utmpx.h',
|
conf.CHECK_STRUCTURE_MEMBER('struct utmpx', 'ut_syslen', headers='utmpx.h',
|
||||||
define='HAVE_UX_UT_SYSLEN')
|
define='HAVE_UX_UT_SYSLEN')
|
||||||
|
conf.CHECK_STRUCTURE_MEMBER('struct utmpx', 'ut_host', headers='utmpx.h',
|
||||||
|
define='HAVE_UX_UT_HOST')
|
||||||
conf.CHECK_CODE('struct utmp utarg; struct utmp *utreturn; utreturn = pututline(&utarg);',
|
conf.CHECK_CODE('struct utmp utarg; struct utmp *utreturn; utreturn = pututline(&utarg);',
|
||||||
'PUTUTLINE_RETURNS_UTMP', headers='utmp.h',
|
'PUTUTLINE_RETURNS_UTMP', headers='utmp.h',
|
||||||
msg="Checking whether pututline returns pointer")
|
msg="Checking whether pututline returns pointer")
|
||||||
|
Loading…
Reference in New Issue
Block a user