By blanket passing --disable-dependency-tracking to all depends packages we end up with warnings (i.e in bdb or freetype) like: configure: WARNING: unrecognized options: --disable-dependency-tracking Instead, only pass it to packages that actually understand it. [...] This PR also adds --enable-option-checking as a configure option to all applicable packages.
Backport of core PR16949.