From: Simon McVittie Date: Tue, 4 Sep 2018 14:38:12 +0000 (-0700) Subject: cmake: Define HAVE_PRCTL, HAVE_RAISE according to existing checks X-Git-Tag: dbus-1.13.8~69 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aced59e20279b045fc2a5bc175cefbbcd432d532;p=thirdparty%2Fdbus.git 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 --- 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