> From: Akim Demaille <[EMAIL PROTECTED]> > Date: 07 Feb 2002 11:30:33 +0100 > > Err, first of all, if you are talking about novices, strip the cache > part, and go down to
But we shouldn't strip the cache part. Caching should be the normal case. It should be easy to do, not hard. > [Simplification] has to been done calmly, with a whole > period of development dedicated to itself alone. I quite agree. We both need more free time. :-) > As far as AC_TRY_LINK goes, I'm really against it: it is the very > Cartesian product I'm referring to. Sorry, I don't quite understand your point about the Cartesian product. I agree that AC_TRY_LINK should be simplified, but I'm not sure where you're headed. To be honest, I'd rather have something like this: AC_DEF_FUNC_CHECKER([error_at_line], [AC_LIBSOURCES([error.c, error.h]) AC_TRY_LINK(, [error_at_line (0, 0, "", 0, "");]) || AC_LIBOBJ(error)]) The idea is to use shell syntax rather than IFELSE when programming something that is executed at runtime by 'configure'. This is partly because the shell syntax is more readable than IFELSE, and partly because using a different syntax makes it easier for readers to distinguish autoconf-time actions from configure-time actions. (I realize that I am handwaving here, and that the discussion has veered back to controversial syntactic issues. :-)