summaryrefslogtreecommitdiff
path: root/ctdb/wscript
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-09-15 15:52:38 +1000
committerMartin Schwenke <martins@samba.org>2014-09-17 07:29:10 +0200
commite4b9beb2d8872d2f46316ac8499d73fe5e8c521f (patch)
tree6b2211d234987e5d1a767055e055d6863665038c /ctdb/wscript
parenta0a21af91834d8f75bd32218e30e419e70b0a002 (diff)
downloadsamba-e4b9beb2d8872d2f46316ac8499d73fe5e8c521f.tar.gz
ctdb-build: Check for ETIME in errno.h
ETIME is not defined on freebsd. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/wscript')
-rwxr-xr-xctdb/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/wscript b/ctdb/wscript
index 8951f79df8f..fd7650a5cf0 100755
--- a/ctdb/wscript
+++ b/ctdb/wscript
@@ -90,6 +90,9 @@ def configure(conf):
sys.exit(1)
conf.CHECK_FUNCS('mlockall')
+ if not conf.CHECK_VARIABLE('ETIME', headers='errno.h'):
+ conf.DEFINE('ETIME', 'ETIMEDOUT')
+
have_pmda = False
if Options.options.ctdb_pmda:
pmda_support = True