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> Reviewed-by: Alejandro López <allopez@redhat.com> Reviewed-by: Alexey Tikhonov <atikhono@redhat.com>
- Loading branch information