]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
cmake: Define HAVE_PRCTL, HAVE_RAISE according to existing checks
authorSimon McVittie <smcv@collabora.com>
Tue, 4 Sep 2018 14:38:12 +0000 (07:38 -0700)
committerSimon McVittie <smcv@collabora.com>
Mon, 15 Oct 2018 12:51:38 +0000 (13:51 +0100)
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 <smcv@collabora.com>
cmake/config.h.cmake

index 3c123b0625494f4b23fae9d324408238a6a52195..ab1deba7f1c766ddef59f0531cdd4c70a2fbdb74 100644 (file)
 #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