[PATCH] tdb: Check for sigaction in the standalone build

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jun 10 05:21:03 MDT 2015


Hi!

This fixes bug 11326.

Review&push appreciated!

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From c73e6a6a0ab910652c0e25cdd54fc5e6f8bd906a Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Wed, 10 Jun 2015 11:17:35 +0000
Subject: [PATCH] tdb: Check for sigaction in the standalone build

Required for mutexes

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11326
Signed-off-by: Volker Lendecke <vl at samba.org>
---
 lib/tdb/wscript |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index b960bb9..f63f750 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -83,6 +83,9 @@ def configure(conf):
             conf.env.building_tdb = False
             if conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytdb', 'tdb', minversion=VERSION):
                 conf.define('USING_SYSTEM_PYTDB', 1)
+    else:
+        conf.CHECK_FUNCS('sigaction')
+
 
     conf.env.disable_python = getattr(Options.options, 'disable_python', False)
 
-- 
1.7.9.5



More information about the samba-technical mailing list