i’ve packaged enough stuff to know that autotools leads to ifdef hell, and cmake additionally leads to code that compiles on exactly one system until someone fixes its assumptions
if a project has a generated config.h or dozens of -D flags on the compiler command line, that’s already not a good sign