summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-22 11:41:06 +0100
committerGünther Deschner <gd@samba.org>2011-02-22 12:46:06 +0100
commit2984003275ed415268b2e135bf71380ab9ae9ef3 (patch)
treef4689f206a646ee3689f87b04947f50e15738047 /source3
parent0b9390234998098a2111dc891f0077bb9cf9d914 (diff)
downloadsamba-2984003275ed415268b2e135bf71380ab9ae9ef3.tar.gz
samba-2984003275ed415268b2e135bf71380ab9ae9ef3.tar.bz2
samba-2984003275ed415268b2e135bf71380ab9ae9ef3.zip
s3-waf: add check for /proc/sys/kernel/core_pattern.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index d3c41b624e..2f73e7d95b 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1229,6 +1229,9 @@ syscall(SYS_initgroups, 16, NULL, NULL, 0);
define='HAVE_STRUCT_SIGEVENT_SIGEV_VALUE_SIGVAL_PTR',
headers='signal.h');
+ if os.path.exists('/proc/sys/kernel/core_pattern'):
+ conf.DEFINE('HAVE_SYS_KERNEL_PROC_CORE_PATTERN', '1')
+
default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam
auth_sam auth_unix auth_winbind auth_wbc auth_server
auth_domain auth_builtin vfs_default