Commit 96fccd0d by Janis Johnson Committed by Janis Johnson

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

From-SVN: r123503
parent 34989df3
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> 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
* config/i386/t-crtpc: New file. * config/i386/t-crtpc: New file.
......
...@@ -3305,7 +3305,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&2;} ...@@ -3305,7 +3305,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&2;}
else else
case $target in case $host in
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*) powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
enable_decimal_float=yes enable_decimal_float=yes
;; ;;
...@@ -3318,7 +3318,7 @@ fi; ...@@ -3318,7 +3318,7 @@ fi;
# x86's use BID format instead of DPD # x86's use BID format instead of DPD
if test x$enable_decimal_float = xyes; then if test x$enable_decimal_float = xyes; then
case $target in case $host in
i?86*-*-linux* | x86_64*-*-linux*) i?86*-*-linux* | x86_64*-*-linux*)
enable_decimal_float=bid enable_decimal_float=bid
;; ;;
...@@ -3938,7 +3938,6 @@ cat >>$CONFIG_STATUS <<_ACEOF ...@@ -3938,7 +3938,6 @@ cat >>$CONFIG_STATUS <<_ACEOF
srcdir=${srcdir} srcdir=${srcdir}
host=${host} host=${host}
target=${target}
with_target_subdir=${with_target_subdir} with_target_subdir=${with_target_subdir}
with_multisubdir=${with_multisubdir} with_multisubdir=${with_multisubdir}
ac_configure_args="--enable-multilib ${ac_configure_args}" ac_configure_args="--enable-multilib ${ac_configure_args}"
......
...@@ -120,7 +120,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;; ...@@ -120,7 +120,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;;
esac esac
], ],
[ [
case $target in case $host in
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*) powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
enable_decimal_float=yes enable_decimal_float=yes
;; ;;
...@@ -132,7 +132,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;; ...@@ -132,7 +132,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;;
# x86's use BID format instead of DPD # x86's use BID format instead of DPD
if test x$enable_decimal_float = xyes; then if test x$enable_decimal_float = xyes; then
case $target in case $host in
i?86*-*-linux* | x86_64*-*-linux*) i?86*-*-linux* | x86_64*-*-linux*)
enable_decimal_float=bid enable_decimal_float=bid
;; ;;
...@@ -194,7 +194,6 @@ if test -n "$CONFIG_FILES"; then ...@@ -194,7 +194,6 @@ if test -n "$CONFIG_FILES"; then
fi]], fi]],
[[srcdir=${srcdir} [[srcdir=${srcdir}
host=${host} host=${host}
target=${target}
with_target_subdir=${with_target_subdir} with_target_subdir=${with_target_subdir}
with_multisubdir=${with_multisubdir} with_multisubdir=${with_multisubdir}
ac_configure_args="--enable-multilib ${ac_configure_args}" ac_configure_args="--enable-multilib ${ac_configure_args}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment