On Monday, 27 July 2009 at 22:22, Matthias Andree wrote:
# HG changeset patch
# User Matthias Andree <matthias.andree@xxxxxx>
# Date 1248733349 -7200
# Branch HEAD
# Node ID 9949607b3f3d35121459cb34416ba3c1e54599bb
# Parent 86e066a206ac9d0eb2df5ce67eed22fda4287846
Support --docdir, complain if that conflicts with --with-docdir.
Fixes #3282.
Note that this relies on the autoconf 2.60+ default for
docdir; if that ever changes in a newer autoconf release, the script
must be updated to avoid false positives.
Note that --with-docdir should be phased out and replaced by --docdir,
after 1.6.
You're right, this is too fragile. I've pushed an alternative that
doesn't bother with the warning. If you specify both --docdir and
--with-docdir, you get --with-docdir. But either one on its own should
work, and the autoconf code is simple. I don't actually have a
pre-2.60 version to test with though.