git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0a21af
)
ctdb-build: Check for ETIME in errno.h
author
Amitay Isaacs
<amitay@gmail.com>
Mon, 15 Sep 2014 05:52:38 +0000
(15:52 +1000)
committer
Martin Schwenke
<martins@samba.org>
Wed, 17 Sep 2014 05:29:10 +0000
(07:29 +0200)
ETIME is not defined on freebsd.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/wscript
patch
|
blob
|
history
diff --git
a/ctdb/wscript
b/ctdb/wscript
index 8951f79df8fe98df03dbddb1a554796e3c1afae5..fd7650a5cf007a7ec12153ed74c0c8b1a9da030b 100755
(executable)
--- 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