diff options
| author | dgp@users.sourceforge.net <dgp> | 2012-09-13 16:19:19 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2012-09-13 16:19:19 (GMT) |
| commit | 098587e5a1bf6738e240dd44aa5f9ff01e36a838 (patch) | |
| tree | 251bdf198a58da1795d1c52dfa7ec765687b22b2 | |
| parent | 252989c43acda1f67eb06a2c23897c3884d855d4 (diff) | |
| download | tcl-098587e5a1bf6738e240dd44aa5f9ff01e36a838.zip tcl-098587e5a1bf6738e240dd44aa5f9ff01e36a838.tar.gz tcl-098587e5a1bf6738e240dd44aa5f9ff01e36a838.tar.bz2 | |
Safer stale config fix for review.
| -rwxr-xr-x | unix/configure | 5 | ||||
| -rw-r--r-- | unix/configure.in | 5 |
2 files changed, 8 insertions, 2 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 diff --git a/unix/configure.in b/unix/configure.in index 420cdc2..f4b695d 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -45,7 +45,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 |
