summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2012-05-10 21:43:30 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2012-05-10 21:43:30 (GMT)
commit90e90bf737bb2a6274c860de870daf89e07ea20a (patch)
treefb035c39d68cd191cb69f4b9c50524f3b1be6b1b /unix/configure
parentd7b37fbb9438a6afef67cab2e2c8c27611ee43d2 (diff)
downloadtcl-90e90bf737bb2a6274c860de870daf89e07ea20a.zip
tcl-90e90bf737bb2a6274c860de870daf89e07ea20a.tar.gz
tcl-90e90bf737bb2a6274c860de870daf89e07ea20a.tar.bz2
[Bug 2812981]: Clean up bundled packages' build directory from within Tcl's ./configure, to avoid stale configuration.
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure5
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure
index 8f25c08..1151497 100755
--- a/unix/configure
+++ b/unix/configure
@@ -1353,6 +1353,11 @@ if test -r "$cache_file" -a -f "$cache_file"; then
fi
#------------------------------------------------------------------------
+# Empty slate for bundled packages, to avoid stale configuration
+#------------------------------------------------------------------------
+rm -Rf pkgs
+
+#------------------------------------------------------------------------
# Handle the --prefix=... option
#------------------------------------------------------------------------