1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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>
This commit is contained in:
Amitay Isaacs 2014-09-15 15:52:38 +10:00 committed by Martin Schwenke
parent a0a21af918
commit e4b9beb2d8

View File

@ -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