Commit 93cf819d by Brendan Kehoe Committed by Brendan Kehoe

configure.in, configure: Make sure to create the stage* and include symbolic…

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
parent f0501149
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) Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
* pa.md (reload_peepholes): Don't allow addresses with side * 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) ...@@ -18,12 +23,6 @@ Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
(CPP_SPEC): Include long_max_spec. (CPP_SPEC): Include long_max_spec.
(EXTRA_SPECS): 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) Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
* v850.c (construct_save_jarl): Fix thinko in last change. * v850.c (construct_save_jarl): Fix thinko in last change.
......
...@@ -5111,9 +5111,15 @@ case x$CONFIG_HEADERS in ...@@ -5111,9 +5111,15 @@ case x$CONFIG_HEADERS in
xconfig.h:config.in) xconfig.h:config.in)
echo > cstamp-h ;; echo > cstamp-h ;;
esac esac
# Make sure we create things so -Bstage1/ will work. # If the host supports symlinks, point stage[1234] at ../stage[1234] so
for d in .. ${subdirs} ; do # bootstrapping and the installation procedure can still use
if [ $d != .. ]; then # 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` STARTDIR=`pwd`
cd $d cd $d
for t in stage1 stage2 stage3 stage4 include for t in stage1 stage2 stage3 stage4 include
...@@ -5122,8 +5128,9 @@ for d in .. ${subdirs} ; do ...@@ -5122,8 +5128,9 @@ for d in .. ${subdirs} ; do
$symbolic_link ../$t $t 2>/dev/null $symbolic_link ../$t $t 2>/dev/null
done done
cd $STARTDIR cd $STARTDIR
fi fi
done done
else true ; fi
exit 0 exit 0
EOF EOF
......
...@@ -3147,9 +3147,15 @@ case x$CONFIG_HEADERS in ...@@ -3147,9 +3147,15 @@ case x$CONFIG_HEADERS in
xconfig.h:config.in) xconfig.h:config.in)
echo > cstamp-h ;; echo > cstamp-h ;;
esac esac
# Make sure we create things so -Bstage1/ will work. # If the host supports symlinks, point stage[1234] at ../stage[1234] so
for d in .. ${subdirs} ; do # bootstrapping and the installation procedure can still use
if [ $d != .. ]; then # 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` STARTDIR=`pwd`
cd $d cd $d
for t in stage1 stage2 stage3 stage4 include for t in stage1 stage2 stage3 stage4 include
...@@ -3158,8 +3164,9 @@ for d in .. ${subdirs} ; do ...@@ -3158,8 +3164,9 @@ for d in .. ${subdirs} ; do
$symbolic_link ../$t $t 2>/dev/null $symbolic_link ../$t $t 2>/dev/null
done done
cd $STARTDIR cd $STARTDIR
fi fi
done done
else true ; fi
], ],
[ [
host='${host}' host='${host}'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment