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 | |
parent | 4415850727878f0da8f32498f6b38cc8cf934df3 (diff) | |
download | gcc-4e8a434e98c9e4cd58f03c3ab1f27e0e8907d3a4.zip gcc-4e8a434e98c9e4cd58f03c3ab1f27e0e8907d3a4.tar.gz gcc-4e8a434e98c9e4cd58f03c3ab1f27e0e8907d3a4.tar.bz2 |
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')
-rwxr-xr-x | gcc/configure | 13 | ||||
-rw-r--r-- | gcc/configure.in | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure index 532750e..e3b38f6 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 diff --git a/gcc/configure.in b/gcc/configure.in index 605cb60..4d991f9 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -3147,6 +3147,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 ], [ host='${host}' |