diff options
author | Brendan Kehoe <brendan@lisa.cygnus.com> | 1997-09-18 19:50:51 +0000 |
---|---|---|
committer | Brendan Kehoe <brendan@gcc.gnu.org> | 1997-09-18 15:50:51 -0400 |
commit | 93cf819deee955ccd7432bbc2b0d642523ed155b (patch) | |
tree | c364db7161f3f35aefcc147e98447ba22aff1f55 | |
parent | f05011492be2d32526bbc5303d1121dd70ed9a1c (diff) | |
download | gcc-93cf819deee955ccd7432bbc2b0d642523ed155b.zip gcc-93cf819deee955ccd7432bbc2b0d642523ed155b.tar.gz gcc-93cf819deee955ccd7432bbc2b0d642523ed155b.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.
copy that's also now in at the FSF; only does it if $symbolic_link is
defined to `ln -s'
From-SVN: r15543
-rw-r--r-- | gcc/ChangeLog | 11 | ||||
-rwxr-xr-x | gcc/configure | 17 | ||||
-rw-r--r-- | gcc/configure.in | 17 |
3 files changed, 29 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c199435..4ce57ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com> + + * configure.in, configure: Make sure to create the stage* and include + symbolic links in each subdirectory. + Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com) * pa.md (reload_peepholes): Don't allow addresses with side @@ -18,12 +23,6 @@ Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com) (CPP_SPEC): Include long_max_spec. (EXTRA_SPECS): Include long_max_spec. -1997-09-17 Brendan Kehoe <brendan@lisa.cygnus.com> - - * 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. - Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com) * v850.c (construct_save_jarl): Fix thinko in last change. diff --git a/gcc/configure b/gcc/configure index e3b38f6..c319730 100755 --- a/gcc/configure +++ b/gcc/configure @@ -5111,9 +5111,15 @@ 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 +# If the host supports symlinks, point stage[1234] at ../stage[1234] so +# bootstrapping and the installation procedure can still use +# CC="stage1/xgcc -Bstage1/". If the host doesn't support symlinks, +# FLAGS_TO_PASS has been modified to solve the problem there. +# This is virtually a duplicate of what happens in configure.lang; we do +# an extra check to make sure this only happens if ln -s can be used. +if [ "$symbolic_link" = "ln -s" ]; then + for d in .. ${subdirs} ; do + if [ $d != .. ]; then STARTDIR=`pwd` cd $d for t in stage1 stage2 stage3 stage4 include @@ -5122,8 +5128,9 @@ for d in .. ${subdirs} ; do $symbolic_link ../$t $t 2>/dev/null done cd $STARTDIR - fi -done + fi + done +else true ; fi exit 0 EOF diff --git a/gcc/configure.in b/gcc/configure.in index 4d991f9..f0b6a49 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -3147,9 +3147,15 @@ 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 +# If the host supports symlinks, point stage[1234] at ../stage[1234] so +# bootstrapping and the installation procedure can still use +# CC="stage1/xgcc -Bstage1/". If the host doesn't support symlinks, +# FLAGS_TO_PASS has been modified to solve the problem there. +# This is virtually a duplicate of what happens in configure.lang; we do +# an extra check to make sure this only happens if ln -s can be used. +if [[ "$symbolic_link" = "ln -s" ]]; then + for d in .. ${subdirs} ; do + if [[ $d != .. ]]; then STARTDIR=`pwd` cd $d for t in stage1 stage2 stage3 stage4 include @@ -3158,8 +3164,9 @@ for d in .. ${subdirs} ; do $symbolic_link ../$t $t 2>/dev/null done cd $STARTDIR - fi -done + fi + done +else true ; fi ], [ host='${host}' |