bpo-34106: Add --with-modules-setup option to 'configure' script by nascheme · Pull Request #8269 · python/cpython
This option will allow a customized Modules/Setup file to be used to generate Modules/config.c and Makefile. Previously, 'configure' would copy Modules/Setup.dist to Modules/Setup and then Setup could be customized by the user. If GH-8229 is merged, that will no longer be supported. Using this option is an alternative to patching the Modules/Setup file in the source tree.