cmake HAVE_C_MALLOC_INFO examples

netdata/netdata CMakeLists.txt :585

check_c_source_compiles("
#include <malloc.h>
int main() {
        malloc_info(0, stdout);
        return 0;
}
" HAVE_C_MALLOC_INFO)