* 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.
This commit is contained in:
Nick Clifton
2010-02-17 10:05:51 +00:00
parent d83a18b6bd
commit 3994761f62
5 changed files with 12 additions and 34 deletions

View File

@ -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
@ -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
@ -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