diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-09-15 15:52:38 +1000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2014-09-17 07:29:10 +0200 |
commit | e4b9beb2d8872d2f46316ac8499d73fe5e8c521f (patch) | |
tree | 6b2211d234987e5d1a767055e055d6863665038c /ctdb/wscript | |
parent | a0a21af91834d8f75bd32218e30e419e70b0a002 (diff) | |
download | samba-e4b9beb2d8872d2f46316ac8499d73fe5e8c521f.tar.gz samba-e4b9beb2d8872d2f46316ac8499d73fe5e8c521f.tar.xz samba-e4b9beb2d8872d2f46316ac8499d73fe5e8c521f.zip |
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-x | ctdb/wscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/wscript b/ctdb/wscript index 8951f79df8..fd7650a5cf 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 |