summaryrefslogtreecommitdiffstats
path: root/win/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)
commit25566ea94ed5e5ecc53df06bd7e0f8f1349f001c (patch)
treefb035c39d68cd191cb69f4b9c50524f3b1be6b1b /win/configure
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 'win/configure')
-rwxr-xr-xwin/configure5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/configure b/win/configure
index f3bd0d9..6673ecb 100755
--- a/win/configure
+++ b/win/configure
@@ -1329,6 +1329,11 @@ REGVER=$TCL_REG_MAJOR_VERSION$TCL_REG_MINOR_VERSION
PKG_CFG_ARGS=$@
#------------------------------------------------------------------------
+# Empty slate for bundled packages, to avoid stale configuration
+#------------------------------------------------------------------------
+rm -Rf pkgs
+
+#------------------------------------------------------------------------
# Handle the --prefix=... option
#------------------------------------------------------------------------