[PATCHv4 2/2] build: tweak SIZEOF utmp->ut_line
Gustavo Zacarias
gustavo at zacarias.com.ar
Wed Apr 9 08:20:42 MDT 2014
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 at zacarias.com.ar>
---
v4/v3/v2:
* Introduced with CHECK_SIZEOF patch, v4 for consistency
---
source3/wscript | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source3/wscript b/source3/wscript
index a5e2981..0056f57 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -812,7 +812,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:
--
1.8.3.2
More information about the samba-technical
mailing list