summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-08-27 00:13:07 +0200
committerBjörn Jacke <bj@sernet.de>2010-08-31 09:07:22 +0200
commit9f87bc4588c2ac669f6e808158dca7ec8517a461 (patch)
tree91a504b665896709ea8ee5855925fa45a03e7dd9 /lib/replace/wscript
parent4e104f185e1aa12c0923e82d3991a658eb2b9474 (diff)
downloadsamba-9f87bc4588c2ac669f6e808158dca7ec8517a461.tar.gz
samba-9f87bc4588c2ac669f6e808158dca7ec8517a461.tar.bz2
samba-9f87bc4588c2ac669f6e808158dca7ec8517a461.zip
libreplace/waf: look for clock_gettime
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 66b0e87d38..8c1c57f12c 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -173,6 +173,7 @@ def configure(conf):
define='DLOPEN_TAKES_UNSIGNED_FLAGS', headers='dlfcn.h dl.h')
conf.CHECK_FUNCS_IN('fdatasync', 'rt', checklibc=True)
+ conf.CHECK_FUNCS_IN('clock_gettime', 'rt', checklibc=True)
# these headers need to be tested as a group on freebsd
conf.CHECK_HEADERS(headers='sys/socket.h net/if.h', together=True)