diff options
author | Brendan Kehoe <brendan@gcc.gnu.org> | 1997-09-17 19:55:13 -0400 |
---|---|---|
committer | Brendan Kehoe <brendan@gcc.gnu.org> | 1997-09-17 19:55:13 -0400 |
commit | 4e8a434e98c9e4cd58f03c3ab1f27e0e8907d3a4 (patch) | |
tree | 668b435e0ed217ea2c4e9723f36923cb40d97338 /gcc/configure | |
parent | 4415850727878f0da8f32498f6b38cc8cf934df3 (diff) | |
download | gcc-4e8a434e98c9e4cd58f03c3ab1f27e0e8907d3a4.tar.gz |
configure.in, configure: Make sure to create the stage* and include symbolic links in each subdirectory...
* configure.in, configure: Make sure to create the stage* and include
symbolic links in each subdirectory, as we do in configure.lang for
non-autoconf configurations.
fixes cp 3stage problem
From-SVN: r15528
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure index 532750efec8..e3b38f64dd6 100755 --- a/gcc/configure +++ b/gcc/configure @@ -5111,6 +5111,19 @@ case x$CONFIG_HEADERS in xconfig.h:config.in) echo > cstamp-h ;; esac +# Make sure we create things so -Bstage1/ will work. +for d in .. ${subdirs} ; do + if [ $d != .. ]; then + STARTDIR=`pwd` + cd $d + for t in stage1 stage2 stage3 stage4 include + do + rm -f $t + $symbolic_link ../$t $t 2>/dev/null + done + cd $STARTDIR + fi +done exit 0 EOF |