-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure: Require valgrind-devel when valgrind is enabled
Currently we include <valgrind/valgrind.h> unconditionally to access the RUNNING_ON_VALGRIND macro, which allows us to skip one of the tests which is known not to work correctly under valgrind. However, if only the runtime part of valgrind in installed on the system and the devel part is missing, this will result in a very late compilation error. Checking for the header's presence at configure time allows us to provide better diagnostics, earlier. More importantly, this makes it possible to build sssd at all on architectures where valgrind is not yet available, such as riscv64. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
- Loading branch information
1 parent
e2408c2
commit 15857d0
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters