s3:waf: Do not check for nanosleep() as we don't use it anywhere
authorAndreas Schneider <asn@samba.org>
Mon, 23 Sep 2019 13:18:55 +0000 (15:18 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 16 Oct 2019 12:15:52 +0000 (12:15 +0000)
We use usleep() in the meantime.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14140

Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Pair-Programmed-With: Isaac Boukris <iboukris@gmail.com>
Reviewed-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit 952e1812fa9bdc1bac2a7ae5ebb5532f1ea31447)

source3/wscript

index 84a2ad9e60178b3feab527fc65c5570d93ee7d8d..5c2ba18f8724a75234e45c38320ba0846eed9167 100644 (file)
@@ -116,7 +116,6 @@ def configure(conf):
     conf.CHECK_FUNCS('fstatat')
     conf.CHECK_FUNCS('getpwent_r setenv clearenv strcasecmp fcvt fcvtl')
     conf.CHECK_FUNCS('syslog vsyslog timegm setlocale')
-    conf.CHECK_FUNCS_IN('nanosleep', 'rt')
     conf.CHECK_FUNCS('lutimes futimes utimensat futimens')
     conf.CHECK_FUNCS('mlock munlock mlockall munlockall')
     conf.CHECK_FUNCS('memalign posix_memalign hstrerror')