Documentation
¶
Overview ¶
Command acdefault says what an autotools switch REALLY defaults to, by reading the generated `configure` rather than the help string beside it.
acdefault DIR [--flag with-python ...]
It exists because a help string can describe a default the code no longer applies. On 2026-11-17 a recipe for gnome.org/libxml2 2.15.4 was written, reviewed and MERGED (go-zpkg/recipes#149) on the claim "the default configuration of this C library refuses to configure without doxygen", taken from
configure.ac:97-98 --with-python Python bindings (on)
That "(on)" is stale: the bindings became off-by-default in 2.15 and the help line kept its old wording. The generated script settles it — `with_python` is assigned only when the flag is PASSED, and its two consumers test it against "yes" — so a plain ./configure leaves it empty and the doxygen AC_MSG_ERROR is unreachable. go-zpkg/recipes#150 corrected it.
⛔ `./configure --help` IS NOT A CONTROL. It reprints the same stale string; printing it is all it does. The only oracle is what the script DOES with the variable.
⛔ AND "EMPTY" DOES NOT MEAN "OFF". It means whatever the consumers make it mean. In the very same file, `with_python` is compared against "yes" (so empty is off) while `with_output` is compared against "no" (so empty is ON). A tool that assumed either way would be right half the time and silent about it, so the verdict here is derived from the COMPARISONS and nothing else.