summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-04 21:15:57 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-04 21:15:57 +0000
commit2968d68cf6d2c3c03923457e5c5297565b30002f (patch)
tree98676f4d96add7007aa4da3c632b61d0cd7a3950 /libgcc
parent99c62042ab489d1d62185af1942032fac7f52cc0 (diff)
downloadgcc-2968d68cf6d2c3c03923457e5c5297565b30002f.tar.gz
* configure: Check host, not target, for decimal float support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123503 138bc75d-0d04-0410-961f-82ee72b054a4
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 6b1c4b14023..db53036f497 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 492e97686e9..24c1571bd24 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 2e95e31e390..1187d74cc4a 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}"