summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-09-13 16:19:19 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-09-13 16:19:19 (GMT)
commite684cc19d11b76f4bbe0b3540577963563f3e948 (patch)
tree251bdf198a58da1795d1c52dfa7ec765687b22b2 /unix/configure
parent39515b76a8cd176131dc8e77ca5465617910261b (diff)
downloadtcl-e684cc19d11b76f4bbe0b3540577963563f3e948.zip
tcl-e684cc19d11b76f4bbe0b3540577963563f3e948.tar.gz
tcl-e684cc19d11b76f4bbe0b3540577963563f3e948.tar.bz2
Safer stale config fix for review.bug_3555001
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure5
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/configure b/unix/configure
index 0958d3d..cbb10b4 100755
--- a/unix/configure
+++ b/unix/configure
@@ -1355,7 +1355,10 @@ fi
#------------------------------------------------------------------------
# Empty slate for bundled packages, to avoid stale configuration
#------------------------------------------------------------------------
-rm -Rf pkgs
+#rm -Rf pkgs
+if test -f Makefile; then
+ make distclean-packages
+fi
#------------------------------------------------------------------------
# Handle the --prefix=... option