Why is `FLB_VALGRIND` flag treated with OR (<ref>)...
# fluent-bit
s
Why is
FLB_VALGRIND
flag treated with OR (ref):
Copy code
# Valgrind support
check_c_source_compiles("
  #include <valgrind/valgrind.h>
  int main() {
     return 0;
  }" FLB_HAVE_VALGRIND)

if(FLB_VALGRIND OR FLB_HAVE_VALGRIND)
  FLB_DEFINITION(FLB_HAVE_VALGRIND)
endif()
This means if I have set
FLB_VALGRIND
explicitly Off (or unset) then the presence of valgrind headers is enough to flip
FLB_HAVE_VALGRIND
to On?