aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2007-04-04 21:15:57 +0000
committerJanis Johnson <janis@gcc.gnu.org>2007-04-04 21:15:57 +0000
commit96fccd0d803633229feefa783d8a36d39234cde9 (patch)
tree98676f4d96add7007aa4da3c632b61d0cd7a3950 /libgcc
parent34989df3a95fe9941f03ee573d9f76d39f04ebfb (diff)
downloadgcc-96fccd0d803633229feefa783d8a36d39234cde9.zip
gcc-96fccd0d803633229feefa783d8a36d39234cde9.tar.gz
gcc-96fccd0d803633229feefa783d8a36d39234cde9.tar.bz2
* configure: Check host, not target, for decimal float support.
From-SVN: r123503
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/configure5
-rw-r--r--libgcc/configure.ac5
3 files changed, 8 insertions, 6 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 6b1c4b1..db53036 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -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.
diff --git a/libgcc/configure b/libgcc/configure
index 492e976..24c1571 100644
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -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}"
diff --git a/libgcc/configure.ac b/libgcc/configure.ac
index 2e95e31..1187d74 100644
--- a/libgcc/configure.ac
+++ b/libgcc/configure.ac
@@ -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}"