From aced59e20279b045fc2a5bc175cefbbcd432d532 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 4 Sep 2018 07:38:12 -0700 Subject: [PATCH] cmake: Define HAVE_PRCTL, HAVE_RAISE according to existing checks Otherwise test-segfault will not be able to disable core dumps, making it extremely slow and noisy to run the tests under cmake. I added the missing checks in commit be55374f, but didn't add the corresponding symbols to config.h.cmake. Fixes: be55374f "cmake: check for the necessary symbols for test-segfault.c" Closes: https://gitlab.freedesktop.org/dbus/dbus/issues/227 Signed-off-by: Simon McVittie --- cmake/config.h.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake index 3c123b062..ab1deba7f 100644 --- a/cmake/config.h.cmake +++ b/cmake/config.h.cmake @@ -207,7 +207,9 @@ #cmakedefine HAVE_DIRFD 1 #cmakedefine HAVE_INOTIFY_INIT1 1 #cmakedefine HAVE_GETRLIMIT 1 +#cmakedefine HAVE_PRCTL 1 #cmakedefine HAVE_PRLIMIT 1 +#cmakedefine HAVE_RAISE 1 #cmakedefine HAVE_SETRLIMIT 1 #cmakedefine HAVE_UNIX_FD_PASSING 1 -- 2.47.3