I'm all for bashing autotools, but in this one case, I'd throw Symantec (SEP?) into the fire first.
And the solution to all build systems being bad is imho not to use C/C++. It's model for platform independence is fundamentally broken. It's not like snafu doesn't exist elsewhere too (Python), but other systems are clearly less troublesome (Go, NPM, Cargo).