summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
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)
commit25566ea94ed5e5ecc53df06bd7e0f8f1349f001c (patch)
treefb035c39d68cd191cb69f4b9c50524f3b1be6b1b /unix/configure.in
parent2454e655e137710903fe501014aa0de7550297cc (diff)
downloadtcl-25566ea94ed5e5ecc53df06bd7e0f8f1349f001c.zip
tcl-25566ea94ed5e5ecc53df06bd7e0f8f1349f001c.tar.gz
tcl-25566ea94ed5e5ecc53df06bd7e0f8f1349f001c.tar.bz2
[Bug 2812981]: Clean up bundled packages' build directory from within Tcl's ./configure, to avoid stale configuration.
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 066a84f..4fc93dd 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -43,6 +43,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
#------------------------------------------------------------------------