From 0e9c6f1b6a7a15b76776bab3d384af680682ffcf Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 7 Oct 2008 11:06:17 -0400 Subject: Fix build issues surrounding signal blocking and DEBUG macros --- server/configure.ac | 1 + server/util/signal.c | 1 + server/util/signal.m4 | 1 + 3 files changed, 3 insertions(+) create mode 100644 server/util/signal.m4 (limited to 'server') 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 . */ +#include "config.h" #include "util/util.h" #include #include 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) -- cgit