On 6/21/24 1:31 PM, Phil Budne wrote:
The REAL evil of autotools is that it builds on the
premise that
all problems can be solved using #ifdef.
That's certainly the most common idiom, and one that most autotools users
(including me) predominantly use, but it's not the only way. If you want
to provide a larger distribution, you can use AC_REPLACE_FUNCS for things
that a particular target doesn't provide and isolate the complexity there.
gnulib is a big help here.
Or you can provide a compatibility layer and push the complexity down to it.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet(a)case.edu
http://tiswww.cwru.edu/~chet/