https://git.tukaani.org/?p=xz.git;a=commitdiff;h=328c52da8a2...
https://git.tukaani.org/?p=xz.git;a=commitdiff;h=328c52da8a2...
[1] And even then it's more hatred of M4 than it is anything in autoconf per se.
To be fair, M4 is rather…special. And when you add that in a Makefile template with shell thrown into the mix it gets _very_ hairy.
But the boring truth is that configuration management is just a hard problem and realistically you'd hate it anyway.
[1] Not so much automake/libtool, which are configured by straightforward idioms and mostly harmless.
[2] Though if you've got some C preprocessor fu, it doesn't look quite so alien.
[3] Though it also needs to be pointed out that 90% of the problem autoconf was originally intended to solve (gratuitously incompatible Unix variants) is basically gone now. You either write to straight ISO-C/POSIX if you're doing simple stuff, work through well-established abstraction libraries with fixed APIs, or you include well-known platform headers (Linux or otherwise) for the complicated bits. No more nonsense testing like "Hm... what header do I need for strncat()?"