Skip to content

Commit

Permalink
PR 11238
Browse files Browse the repository at this point in the history
        * Makefile.tpl (local-distclean): Also remove config.cache files in
        sub-directories as there may not be Makefiles present in the
        sub-directories.
        * Makefile.in: Regenerate.
        * configure.ac: Revert previous delta.
        * configure: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156826 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
nickc committed Feb 17, 2010
1 parent 484ae26 commit 90b41da
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 34 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
2010-02-17 Nick Clifton <nickc@redhat.com>

PR 11238
* Makefile.tpl (local-distclean): Also remove config.cache files in
sub-directories as there may not be Makefiles present in the
sub-directories.
* Makefile.in: Regenerate.
* configure.ac: Revert previous delta.
* configure: Regenerate.

2010-02-15 Nick Clifton <nickc@redhat.com>

PR 11238
Expand Down
1 change: 1 addition & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2658,6 +2658,7 @@ local-distclean:
-rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
-rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
-rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
-find . -name config.cache -delete \; 2>/dev/null

local-maintainer-clean:
@echo "This command is intended for maintainers to use;"
Expand Down
1 change: 1 addition & 0 deletions Makefile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,7 @@ local-distclean:
-rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
-rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
-rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
-find . -name config.cache -delete \; 2>/dev/null

local-maintainer-clean:
@echo "This command is intended for maintainers to use;"
Expand Down
17 changes: 0 additions & 17 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -7606,12 +7606,6 @@ for module in ${build_configdirs} ; do
echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
rm -f ${build_subdir}/${module}/Makefile
fi
# PR 11238: Also remove config.cache files.
if test -z "${no_recursion}" \
&& test -f ${build_subdir}/${module}/config.cache; then
echo 1>&2 "*** removing ${build_subdir}/${module}/config.cache to allow reconfigure"
rm -f ${build_subdir}/${module}/config.cache
fi
extrasub_build="$extrasub_build
/^@if build-$module\$/d
/^@endif build-$module\$/d
Expand All @@ -7627,11 +7621,6 @@ for module in ${configdirs} ; do
rm -f ${file}
fi
done
# PR 11238: Also remove config.cache files.
if test -f ${module}/config.cache; then
echo 1>&2 "*** removing ${module}/config.cache to allow reconfigure"
rm -f ${module}/config.cache
fi
fi
extrasub_host="$extrasub_host
/^@if $module\$/d
Expand All @@ -7646,12 +7635,6 @@ for module in ${target_configdirs} ; do
echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
rm -f ${target_subdir}/${module}/Makefile
fi
# PR 11238: Also remove config.cache files.
if test -z "${no_recursion}" \
&& test -f ${target_subdir}/${module}/config.cache; then
echo 1>&2 "*** removing ${target_subdir}/${module}/config.cache to allow reconfigure"
rm -f ${target_subdir}/${module}/config.cache
fi

# We only bootstrap target libraries listed in bootstrap_target_libs.
case $bootstrap_target_libs in
Expand Down
17 changes: 0 additions & 17 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2710,12 +2710,6 @@ for module in ${build_configdirs} ; do
echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
rm -f ${build_subdir}/${module}/Makefile
fi
# PR 11238: Also remove config.cache files.
if test -z "${no_recursion}" \
&& test -f ${build_subdir}/${module}/config.cache; then
echo 1>&2 "*** removing ${build_subdir}/${module}/config.cache to allow reconfigure"
rm -f ${build_subdir}/${module}/config.cache
fi
extrasub_build="$extrasub_build
/^@if build-$module\$/d
/^@endif build-$module\$/d
Expand All @@ -2731,11 +2725,6 @@ for module in ${configdirs} ; do
rm -f ${file}
fi
done
# PR 11238: Also remove config.cache files.
if test -f ${module}/config.cache; then
echo 1>&2 "*** removing ${module}/config.cache to allow reconfigure"
rm -f ${module}/config.cache
fi
fi
extrasub_host="$extrasub_host
/^@if $module\$/d
Expand All @@ -2750,12 +2739,6 @@ for module in ${target_configdirs} ; do
echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
rm -f ${target_subdir}/${module}/Makefile
fi
# PR 11238: Also remove config.cache files.
if test -z "${no_recursion}" \
&& test -f ${target_subdir}/${module}/config.cache; then
echo 1>&2 "*** removing ${target_subdir}/${module}/config.cache to allow reconfigure"
rm -f ${target_subdir}/${module}/config.cache
fi

# We only bootstrap target libraries listed in bootstrap_target_libs.
case $bootstrap_target_libs in
Expand Down

0 comments on commit 90b41da

Please sign in to comment.