aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-07-16 16:31:40 +0000
committerIan Lance Taylor <ian@airs.com>1998-07-16 16:31:40 +0000
commit5b0b3ba6f5006be68305c65fef97b9a18f3af136 (patch)
tree58f1c6cc249ccf880271696925796257e0d76a8e /configure.in
parente3ca310c69d52fc86c20efb4514bec06d737c950 (diff)
downloadgdb-5b0b3ba6f5006be68305c65fef97b9a18f3af136.zip
gdb-5b0b3ba6f5006be68305c65fef97b9a18f3af136.tar.gz
gdb-5b0b3ba6f5006be68305c65fef97b9a18f3af136.tar.bz2
Brought over from egcs:
Sat Jun 27 22:46:32 1998 Jeffrey A Law (law@cygnus.com) * configure.in (target_subdir): Set to ${target_alias} instead of "libraries". Mon Sep 1 16:45:44 1997 Jim Wilson <wilson@cygnus.com> * configure.in (target_subdir): Set to libraries if enable_multilib.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index 88e0883..b4db9fb 100644
--- a/configure.in
+++ b/configure.in
@@ -401,12 +401,12 @@ if [ x"${host}" = x"${target}" ] ; then
# that are in the 'cross only' list
skipdirs="${skipdirs} ${cross_only}"
is_cross_compiler=no
- target_subdir=.
- case "${host}" in
- # We need multilib support for irix6, to get libiberty built
- # properly for o32 and n32.
- mips-sgi-irix6*) target_subdir=${host} ;;
- esac
+ # 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