summaryrefslogtreecommitdiff
path: root/libgcc/configure
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-06 14:52:54 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-06 14:52:54 +0000
commita87eb01159126249fcdbde78b65c25b8b16b9c89 (patch)
treeedc47ab3c02efb97ac46e7117b77aa9d6a0da762 /libgcc/configure
parent0a683683c5048a8a9c586809b0d6d319f259d1ac (diff)
downloadgcc-a87eb01159126249fcdbde78b65c25b8b16b9c89.tar.gz
Don't set enable_decimal_float to dpd if DFP is disabled.
config/ 2010-09-06 H.J. Lu <hongjiu.lu@intel.com> PR target/45524 * dfp.m4: Don't set enable_decimal_float to dpd if DFP is disabled. Set default_decimal_float. gcc/ 2010-09-06 H.J. Lu <hongjiu.lu@intel.com> PR target/45524 * configure.ac (enable_decimal_float): Set to $default_decimal_float. * configure: Regenerated. libdecnumber/ 2010-09-06 H.J. Lu <hongjiu.lu@intel.com> PR target/45524 * configure.ac (enable_decimal_float): Set to $default_decimal_float. * configure: Regenerated. libgcc/ 2010-09-06 H.J. Lu <hongjiu.lu@intel.com> PR target/45524 * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163921 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/configure')
-rw-r--r--libgcc/configure5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgcc/configure b/libgcc/configure
index c1a76ee1557..1649e14312b 100644
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -3639,7 +3639,7 @@ decimal_float=$libgcc_cv_dfp
if test "${enable_decimal_float+set}" = set; then :
enableval=$enable_decimal_float;
case $enable_decimal_float in
- yes | no | bid | dpd) ;;
+ yes | no | bid | dpd) default_decimal_float=$enable_decimal_float ;;
*) as_fn_error "'$enable_decimal_float' is an invalid value for --enable-decimal-float.
Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
esac
@@ -3671,11 +3671,12 @@ case x$enable_decimal_float in
enable_decimal_float=dpd
;;
esac
+ default_decimal_float=$enable_decimal_float
;;
xno)
# ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
# dependency on libdecnumber.
- enable_decimal_float=dpd
+ default_decimal_float=dpd
;;
esac