summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2008-10-07 11:06:17 -0400
committerSimo Sorce <idra@samba.org>2008-10-07 12:16:11 -0400
commit0e9c6f1b6a7a15b76776bab3d384af680682ffcf (patch)
treeb8cc7fe1bd47863d591a223c3bd0c67ac1762923 /server
parentf9aefa94c5923703b3046417cd52f3de3df9ac07 (diff)
downloadsssd-0e9c6f1b6a7a15b76776bab3d384af680682ffcf.tar.gz
sssd-0e9c6f1b6a7a15b76776bab3d384af680682ffcf.tar.bz2
sssd-0e9c6f1b6a7a15b76776bab3d384af680682ffcf.zip
Fix build issues surrounding signal blocking and DEBUG macros
Diffstat (limited to 'server')
-rw-r--r--server/configure.ac1
-rw-r--r--server/util/signal.c1
-rw-r--r--server/util/signal.m41
3 files changed, 3 insertions, 0 deletions
diff --git a/server/configure.ac b/server/configure.ac
index 902f6047..8a4ab4ac 100644
--- a/server/configure.ac
+++ b/server/configure.ac
@@ -34,6 +34,7 @@ m4_include(libpopt.m4)
m4_include(libtalloc.m4)
m4_include(libtdb.m4)
m4_include(libevents.m4)
+m4_include(util/signal.m4)
AC_SUBST(TESTS)
AC_SUBST(EXTRA_OBJ)
diff --git a/server/util/signal.c b/server/util/signal.c
index e4a782da..5d036a37 100644
--- a/server/util/signal.c
+++ b/server/util/signal.c
@@ -18,6 +18,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
#include "util/util.h"
#include <sys/types.h>
#include <sys/wait.h>
diff --git a/server/util/signal.m4 b/server/util/signal.m4
new file mode 100644
index 00000000..c6d7f72f
--- /dev/null
+++ b/server/util/signal.m4
@@ -0,0 +1 @@
+AC_CHECK_FUNCS(sigprocmask sigblock sigaction)