mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-build: Add check for getrusage()
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
3d42e257a6
commit
87032ccebd
@ -180,6 +180,7 @@ def configure(conf):
|
||||
Logs.error('Need sched_setscheduler()')
|
||||
sys.exit(1)
|
||||
conf.CHECK_FUNCS('mlockall')
|
||||
conf.CHECK_FUNCS('getrusage', headers="sys/time.h sys/resource.h")
|
||||
|
||||
if not conf.CHECK_VARIABLE('ETIME', headers='errno.h'):
|
||||
conf.DEFINE('ETIME', 'ETIMEDOUT')
|
||||
|
Loading…
Reference in New Issue
Block a user