On Tue, 19 Oct 2010 12:35:57 -0600, Alex Rousskov <[email protected]> wrote: > On 10/06/2010 01:13 PM, Kinkie wrote: >>> True, but it gets set back to "no" if the libraries are subsequently not >>> found. Not a problem though if Amos has changed it to a better way of >>> doing it. >> >> The current standard for --enable and --with flags is: "yes" means >> force-enable, fail the build if not possible. "no" means >> force-disable, "auto" means "try to enable, disable if some required >> part is not available". For --with flags, everything else is usually >> considered as a path to be used. >> >> Please everyone remember that, let's not get the autoconf-refactor >> effort be wasted :) > > It is easy to forget this. Where we should document these rules? As a > comment in configure.in? Or is it already documented somewhere? > > Thank you, > > Alex.
http://wiki.squid-cache.org/Squid3CodingGuidelines already covers both C++ and automake policies. I've added a menu to easily navigate the page and this under autoconf guidelines. Amos
