From a6fbc1e26b60d2d7b3ce0b820d4a9e12e426fd75 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 2 Jan 2006 18:34:24 +0000 Subject: configure.in: When reconfiguring remove Makefile in all stage directories. * configure.in: When reconfiguring remove Makefile in all stage directories. * configure: Regenerate. From-SVN: r109240 --- configure | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 9ff2010..cadb668 100755 --- a/configure +++ b/configure @@ -3012,10 +3012,13 @@ for module in ${build_configdirs} ; do /^@endif build-$module-$bootstrap_suffix\$/d" done for module in ${configdirs} ; do - if test -z "${no_recursion}" \ - && test -f ${module}/Makefile; then - echo 1>&2 "*** removing ${module}/Makefile to force reconfigure" - rm -f ${module}/Makefile + if test -z "${no_recursion}"; then + for file in stage*-${module}/Makefile ${module}/Makefile; do + if test -f ${file}; then + echo 1>&2 "*** removing ${file} to force reconfigure" + rm -f ${file} + fi + done fi extrasub="$extrasub /^@if $module\$/d -- cgit v1.1