configure.in: Minor cleanups for building in the $(target_alias) subdir.

* configure.in: Minor cleanups for building in the $(target_alias)
        subdir.

From-SVN: r22612
This commit is contained in:
Jeffrey A Law 1998-09-28 03:07:27 +00:00 committed by Jeff Law
parent f7c69d5640
commit 494933e4cd
2 changed files with 10 additions and 7 deletions

View File

@ -1,3 +1,8 @@
Mon Sep 28 04:04:27 1998 Jeffrey A Law (law@cygnus.com)
* configure.in: Minor cleanups for building in the $(target_alias)
subdir.
1998-09-22 Jim Wilson <wilson@cygnus.com>
* Makefile.in (bootstrap): Set r and s before make all. Use

View File

@ -362,20 +362,18 @@ if [ x"${host}" = x"${target}" ] ; then
# that are in the 'cross only' list
skipdirs="${skipdirs} ${cross_only}"
is_cross_compiler=no
# Default to --enable-multilib. See similar code below.
if [ x${enable_multilib} = xno ]; then
target_subdir=.
else
target_subdir=${target_alias}
fi
else
# similarly, don't build the targets in the 'native only'
# list when building a cross compiler
skipdirs="${skipdirs} ${native_only}"
is_cross_compiler=yes
target_subdir=${target_alias}
fi
# We always want to use the same name for this directory, so that dejagnu
# can reliably find it.
target_subdir=${target_alias}
target_subdir=${target_alias}
if [ ! -d ${target_subdir} ] ; then
if mkdir ${target_subdir} ; then true
else