* configure: Check host, not target, for decimal float support.

From-SVN: r123503
This commit is contained in:
Janis Johnson 2007-04-04 21:15:57 +00:00 committed by Janis Johnson
parent 34989df3a9
commit 96fccd0d80
3 changed files with 8 additions and 6 deletions

View 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.

5
libgcc/configure vendored
View 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}"

View 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}"