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
This commit is contained in:
parent
4415850727
commit
4e8a434e98
2 changed files with 26 additions and 0 deletions
13
gcc/configure
vendored
13
gcc/configure
vendored
|
@ -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
|
||||
|
|
|
@ -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}'
|
||||
|
|
Loading…
Add table
Reference in a new issue