Author nascheme
Recipients barry, koobs, martin.panter, mdk, nascheme, pitrou, twouters, vstinner, xdegaye
Date 2018-07-11.18:12:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
PR 8229 doesn't work if the build dir is separate from the src dir (mentioned in the PR comments).  The attached patch (makesetup_fallback_dist.txt) changes makesetup to fallback to using $srcdir/Modules/Setup.dist if Modules/Setup doesn't exist.  I removed the copying of Setup.dist to Setup.  Also, I removed the dependencies in the makefile that look for an out-of-date Setup file and the ones that automatically run makesetup.  There is now a "makesetup" target with no deps.  You would have to run "make makesetup" if you want to regenerate config.c and the Makefile.  Otherwise, running "configure" would also do the job.

One possible issue with the patch: I expect that some build systems expect that, after configure, Modules/Setup will exist in the build dir and can be modified.  For that reason, I think a better fix is to make 'configure' unconditionally create Modules/Setup from $srcdir/Modules/Setup.dist.

I'm attaching as a patch as I'm not sure about creating a bunch of half-baked PRs to show ideas.  It seems to me that a small patch as a text attachment is better.  Maybe I'm a dinosaur. ;-P
Date User Action Args
2018-07-11 18:12:59naschemesetrecipients: + nascheme, twouters, barry, pitrou, vstinner, xdegaye, martin.panter, koobs, mdk
2018-07-11 18:12:59naschemesetmessageid: <>
2018-07-11 18:12:59naschemelinkissue32430 messages
2018-07-11 18:12:59naschemecreate