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 acb4664..e298112 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -160,8 +160,17 @@
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