* configure: Check host, not target, for decimal float support.
authorJanis Johnson <janis187@us.ibm.com>
Wed, 4 Apr 2007 21:15:57 +0000 (21:15 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Wed, 4 Apr 2007 21:15:57 +0000 (21:15 +0000)
From-SVN: r123503

libgcc/ChangeLog
libgcc/configure
libgcc/configure.ac

index 6b1c4b14023ca6958462a754d2bacc540271ae3a..db53036f497641f847ac01f501e04165a6f0ce91 100644 (file)
@@ -1,3 +1,7 @@
+2007-04-04  Janis Johnson  <janis187@us.ibm.com>
+
+       * configure: Check host, not target, for decimal float support.
+
 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/t-crtpc: New file.
index 492e97686e97ef7c72aeca03d81cec9fa1a7dfc8..24c1571bd247347eb9aaa9c8fcd264de186d290c 100644 (file)
@@ -3305,7 +3305,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&2;}
 
 else
 
-  case $target in
+  case $host in
     powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
       enable_decimal_float=yes
       ;;
@@ -3318,7 +3318,7 @@ fi;
 
 # x86's use BID format instead of DPD
 if test x$enable_decimal_float = xyes; then
-  case $target in
+  case $host in
     i?86*-*-linux* | x86_64*-*-linux*)
       enable_decimal_float=bid
       ;;
@@ -3938,7 +3938,6 @@ cat >>$CONFIG_STATUS <<_ACEOF
 
 srcdir=${srcdir}
 host=${host}
-target=${target}
 with_target_subdir=${with_target_subdir}
 with_multisubdir=${with_multisubdir}
 ac_configure_args="--enable-multilib ${ac_configure_args}"
index 2e95e31e390bd0cef62fed7e618bd459f222da2d..1187d74cc4a6036f036ef3752b37d111f126e134 100644 (file)
@@ -120,7 +120,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;;
   esac
 ],
 [
-  case $target in
+  case $host in
     powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
       enable_decimal_float=yes
       ;;
@@ -132,7 +132,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;;
 
 # x86's use BID format instead of DPD
 if test x$enable_decimal_float = xyes; then
-  case $target in
+  case $host in
     i?86*-*-linux* | x86_64*-*-linux*)
       enable_decimal_float=bid
       ;;
@@ -194,7 +194,6 @@ if test -n "$CONFIG_FILES"; then
 fi]],
 [[srcdir=${srcdir}
 host=${host}
-target=${target}
 with_target_subdir=${with_target_subdir}
 with_multisubdir=${with_multisubdir}
 ac_configure_args="--enable-multilib ${ac_configure_args}"