[PATCH 1/4] build: don't execute statfs and f_fsid checks

Gustavo Zacarias gustavo at zacarias.com.ar
Tue Apr 8 07:56:01 MDT 2014

There's no need to execute the statfs and statfs.f_fsid checks, the
return value is of no consequence since it's undefined in some
platforms and prevents cross-compiling.

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
 source3/wscript | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/source3/wscript b/source3/wscript
index 4fe49fa..e81a47b 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -476,8 +476,7 @@ return acl_get_perm_np(permset_d, perm);
     conf.CHECK_CODE('struct statfs fsd; fsid_t fsid = fsd.f_fsid; return statfs(".", &fsd);',
                     msg="vfs_fileid: checking for statfs() and struct statfs.f_fsid",
-                    headers='sys/types.h sys/statfs.h',
-                    execute=True)
+                    headers='sys/types.h sys/statfs.h')

More information about the samba-technical mailing list