Brought over from egcs:
authorIan Lance Taylor <ian@airs.com>
Thu, 16 Jul 1998 16:31:40 +0000 (16:31 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 16 Jul 1998 16:31:40 +0000 (16:31 +0000)
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.

ChangeLog
configure.in

index 0f50580..d3071c0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+Thu Jul 16 12:29:51 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       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.
+
 Wed Jul 15 01:00:54 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there are any
index 88e0883..b4db9fb 100644 (file)
@@ -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