Now is without mode. I was going to suggest that but didn't because thought it might be out of scope.
The mode==true branch gets all files that include some macros from bitcoin-build-config.h and insists that all those files contain ^#include <bitcoin-build-config.h>$. But if some file contains #include <bitcoin-build-config.h> (with leading space) it would be reported as "This file uses some macros but does not include bitcoin-build-config.h" (which would be wrong).
Now is better. I guess things like /* inside comment #include <bitcoin-build-config.h> hoho */ are not supported ;-)