summaryrefslogtreecommitdiffstats
path: root/source3/wscript
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-04-21 10:18:17 -0300
committerDavid Disseldorp <ddiss@samba.org>2014-05-06 18:14:13 +0200
commitdb8618050d40612666c279cb2d3a486473278b6b (patch)
tree1030c3a6abcd6fafab2b4180720321371e3199a9 /source3/wscript
parent6619055f6034c1f7194c821ac230d53bf735adbc (diff)
downloadsamba-db8618050d40612666c279cb2d3a486473278b6b.tar.gz
samba-db8618050d40612666c279cb2d3a486473278b6b.tar.xz
samba-db8618050d40612666c279cb2d3a486473278b6b.zip
build: tweak SIZEOF utmp->ut_line
Set the critical parameter of CHECK_SIZEOF utmp->ut_line to False since it's used to find out if utmp support should be enabled. This is necessary with the introduction of the cross-compile aware CHECK_SIZEOF. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript
index 8cbd9bc3789..47839277e73 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -813,7 +813,7 @@ msg.msg_acctrightslen = sizeof(fd);
'PUTUTLINE_RETURNS_UTMP', headers='utmp.h',
msg="Checking whether pututline returns pointer")
conf.CHECK_SIZEOF(['((struct utmp *)NULL)->ut_line'], headers='utmp.h',
- define='SIZEOF_UTMP_UT_LINE')
+ define='SIZEOF_UTMP_UT_LINE', critical=False)
if not conf.CONFIG_SET('SIZEOF_UTMP_UT_LINE'):
conf.env.with_utmp = False
elif int(conf.env.SIZEOF_UTMP_UT_LINE) < 15: