+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
(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.
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
$symbolic_link ../$t $t 2>/dev/null
done
cd $STARTDIR
- fi
-done
+ fi
+ done
+else true ; fi
exit 0
EOF
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
$symbolic_link ../$t $t 2>/dev/null
done
cd $STARTDIR
- fi
-done
+ fi
+ done
+else true ; fi
],
[
host='${host}'