3 ms·
Gnu Autoconf is the epitome of FUBAR Bazaar. >This is probably also why libtool's configure probes no fewer than 26 different names for the Fortran compiler my
by DonHopkins 9y ago
Gnu Autoconf is the epitome of FUBAR Bazaar.
>This is probably also why libtool's configure probes no fewer than 26 different names for the Fortran compiler my system does not have, and then spends another 26 tests to find out if each of these nonexistent Fortran compilers supports the -g option.
>That is the sorry reality of the bazaar Raymond praised in his book: a pile of old festering hacks, endlessly copied and pasted by a clueless generation of IT "professionals" who wouldn't recognize sound IT architecture if you hit them over the head with it. It is hard to believe today, but under this embarrassing mess lies the ruins of the beautiful cathedral of Unix, deservedly famous for its simplicity of design, its economy of features, and its elegance of execution. (Sic transit gloria mundi, etc.)
https://en.wikipedia.org/wiki/Autoconf https://en.wikipedia.org/wiki/Autoconf
Criticism
There is some criticism that states that Autoconf uses dated technologies, has a lot of legacy restrictions, and complicates simple scenarios unnecessarily for the author of configure.ac scripts. In particular, often cited weak points of Autoconf are:
General complexity of used architecture, most projects use multiple repetitions.
Generated 'configure' is written in Bourne shell and thus Makefile generation is slow.
Some people think that 'configure' scripts generated by autoconf provide only manual-driven command-line interface without any standardization. While it is true that some developers do not respect common conventions, such conventions do exist and are widely used.
M4 is unusual and unknown to many developers. Developers will need to learn it to extend autoconf with non-standard checks.
Weak backward and forward compatibility requires a wrapper script.
Autoconf-generated scripts are usually large and rather complex. Although they produce extensive logging, debugging them can still be difficult.
Due to these limitations, several projects that used GNU Build System switched to different build systems, such as CMake and SCons.
- foobarian 9y ago> the beautiful cathedral of Unix The biggest irony here is that in the Multics days the Unix design was considered an ugly heretical hack. It's all in the eye of the beholder.