by Galanwe · 3y ago · 0 comments
The source is a straightfoward `configure.ac` of 75 commented lines of code (13 with comments removed)
I guess it at least demonstrated the power of modularity. Almost nobody can understand it, but it still works...
The whole point of autotools is to make sure that your project can run on the largest possible set of unix-like operating systems.
`sh` is actually the very best compilation target for that, looking back in time, whatever other language that could have been chosen (most likely perl) would have been a huge mistake.
Autoconf was litterally made so that you can write C code that is somewhat portable. Suggesting that it should have been written in C and built locally is non-sensical.