From: Fred Drake Date: Thu, 31 Aug 2000 16:56:15 +0000 (+0000) Subject: If Setup is older than Setup.in, issue a bold warning that the Setup may X-Git-Tag: v2.0b1~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a54436fbdbcf1f8d3f16a63dbc8d5f2a72771fdf;p=python If Setup is older than Setup.in, issue a bold warning that the Setup may need to be checked to make sure all the latest information is present. This closes SourceForge patch #101275. --- diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in index acb46649e3..e298112af3 100644 --- a/Modules/Makefile.pre.in +++ b/Modules/Makefile.pre.in @@ -160,8 +160,17 @@ hassignal: fi; \ done -Setup: - cp $(srcdir)/Setup.in Setup +Setup: $(srcdir)/Setup.in + @if [ -f Setup ] ; then \ + echo; \ + echo "-------------------------------------------"; \ + echo "$(srcdir)/Setup.in is newer than Setup;"; \ + echo "check to make sure you have all the updates"; \ + echo "you need in your Setup file."; \ + echo "-------------------------------------------"; \ + echo; \ + else (set -x; cp $(srcdir)/Setup.in Setup); fi + Setup.local: echo "# Edit this file for local setup changes" >Setup.local