summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-05-13 18:12:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:58 -0500
commit53f005f6aaa2aa2eb599e6787e2c700a1d44d2a2 (patch)
treed510574c7415fb019edccdb2df210ed2da26e5a7 /source4/lib
parent089cbd4a8e8108306ba92b01746ecd261e9fdd7c (diff)
downloadsamba-53f005f6aaa2aa2eb599e6787e2c700a1d44d2a2.tar.gz
samba-53f005f6aaa2aa2eb599e6787e2c700a1d44d2a2.tar.bz2
samba-53f005f6aaa2aa2eb599e6787e2c700a1d44d2a2.zip
r15572: Trim build/m4/rewrite.m4 a bit more, remove unused tests.
(This used to be commit d72c5c8f755277eb22e1f6834d98202f00c09934)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/util/capability.c12
-rw-r--r--source4/lib/util/fault.m42
-rw-r--r--source4/lib/util/signal.m41
-rw-r--r--source4/lib/util/util.m41
4 files changed, 4 insertions, 12 deletions
diff --git a/source4/lib/util/capability.c b/source4/lib/util/capability.c
index 683bc99723..7d8222fe11 100644
--- a/source4/lib/util/capability.c
+++ b/source4/lib/util/capability.c
@@ -102,15 +102,3 @@ static BOOL set_inherited_process_capability( uint32_t cap_flag, BOOL enable )
return True;
}
#endif
-
-/**
- Gain the oplock capability from the kernel if possible.
-**/
-
-_PUBLIC_ void oplock_set_capability(BOOL this_process, BOOL inherit)
-{
-#if HAVE_KERNEL_OPLOCKS_IRIX
- set_process_capability(KERNEL_OPLOCK_CAPABILITY,this_process);
- set_inherited_process_capability(KERNEL_OPLOCK_CAPABILITY,inherit);
-#endif
-}
diff --git a/source4/lib/util/fault.m4 b/source4/lib/util/fault.m4
new file mode 100644
index 0000000000..6d2c4f2a6a
--- /dev/null
+++ b/source4/lib/util/fault.m4
@@ -0,0 +1,2 @@
+AC_CHECK_HEADER(execinfo.h)
+AC_CHECK_FUNCS(backtrace)
diff --git a/source4/lib/util/signal.m4 b/source4/lib/util/signal.m4
new file mode 100644
index 0000000000..c6d7f72f68
--- /dev/null
+++ b/source4/lib/util/signal.m4
@@ -0,0 +1 @@
+AC_CHECK_FUNCS(sigprocmask sigblock sigaction)
diff --git a/source4/lib/util/util.m4 b/source4/lib/util/util.m4
new file mode 100644
index 0000000000..9e362954cd
--- /dev/null
+++ b/source4/lib/util/util.m4
@@ -0,0 +1 @@
+AC_CHECK_FUNCS(setsid)