s3:waf: Remove check for fdatasync
authorAndreas Schneider <asn@samba.org>
Fri, 18 Oct 2019 11:31:38 +0000 (13:31 +0200)
committerRalph Boehme <slow@samba.org>
Sun, 20 Oct 2019 14:52:40 +0000 (14:52 +0000)
This is already checked by libreplace as replace also provides it.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Ralph B√∂hme <slow@samba.org>
Autobuild-Date(master): Sun Oct 20 14:52:40 UTC 2019 on sn-devel-184

source3/wscript

index 10160fd373cc92dff87a75458b65320ff3395ce5..28f43fa72b953a24c09d8d19b01f51931e6fbcf6 100644 (file)
@@ -105,7 +105,7 @@ def configure(conf):
 
     conf.CHECK_FUNCS('getcwd fchown chmod fchmod mknod mknodat')
     conf.CHECK_FUNCS('strtol strchr strupr chflags')
-    conf.CHECK_FUNCS('getrlimit fsync fdatasync setpgid')
+    conf.CHECK_FUNCS('getrlimit fsync setpgid')
     conf.CHECK_FUNCS('setsid glob strpbrk crypt16 getauthuid')
     conf.CHECK_FUNCS('innetgr')
     conf.CHECK_FUNCS('initgroups select poll rdchk getgrnam getgrent pathconf')
@@ -123,7 +123,6 @@ def configure(conf):
     conf.CHECK_FUNCS_IN('yp_get_default_domain', 'nsl')
     conf.CHECK_FUNCS_IN('dn_expand _dn_expand __dn_expand', 'resolv')
     conf.CHECK_FUNCS_IN('dn_expand', 'inet')
-    conf.CHECK_DECLS('fdatasync', reverse=True)
     conf.CHECK_DECLS('readahead', reverse=True, headers='fcntl.h')
 
     if conf.CHECK_CODE('''
@@ -396,7 +395,6 @@ fchmod
 fchown
 fcvt
 fcvtl
-fdatasync
 fseeko
 fsync
 futimens