summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-06-10 14:33:35 +0200
committerAmitay Isaacs <amitay@samba.org>2015-06-10 15:04:21 +0200
commita82acb076e78eb513fb1228595b220f61377e23c (patch)
treed38dc5fb22df5cc9121a2943bf3a5f3a00e3e511 /lib/replace
parent81f05927b8f521fd6e14d5b9f9a1b60c965f2604 (diff)
downloadsamba-a82acb076e78eb513fb1228595b220f61377e23c.tar.gz
lib/replace: add signal related configure checks
These should be in a central place available for all lib/replace users instead of having each caller do its own checks. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11326 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 1b156fa671e..788877cf1e2 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -136,6 +136,7 @@ def configure(conf):
conf.CHECK_TYPE_IN('sa_family_t', 'sys/socket.h')
conf.CHECK_TYPE_IN('sig_atomic_t', 'signal.h', define='HAVE_SIG_ATOMIC_T_TYPE')
+ conf.CHECK_FUNCS('sigsetmask siggetmask sigprocmask sigblock sigaction sigset')
conf.CHECK_FUNCS_IN('''inet_ntoa inet_aton inet_ntop inet_pton connect gethostbyname
getaddrinfo getnameinfo freeaddrinfo gai_strerror socketpair''',