merge from gcc
authorDJ Delorie <dj@redhat.com>
Tue, 7 Sep 2010 19:28:01 +0000 (19:28 +0000)
committerDJ Delorie <dj@redhat.com>
Tue, 7 Sep 2010 19:28:01 +0000 (19:28 +0000)
libdecnumber/ChangeLog
libdecnumber/configure
libdecnumber/configure.ac

index b7952d089684463eeefa804d992dc27bf16d976c..2690ea5b0ab14eb0bddca4a2f14febaa2d3177f3 100644 (file)
@@ -1,3 +1,14 @@
+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.
+
+2010-09-06  Andreas Schwab  <schwab@redhat.com>
+
+       * configure: Regenerate.
+
 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
index 636839cf369d22b54ccefea4736008d6188b44f7..f94f68081906b1660982cee772fca5781bd5c4a0 100755 (executable)
@@ -4594,7 +4594,7 @@ $as_echo_n "checking for decimal floating point... " >&6; }
 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
@@ -4606,8 +4606,8 @@ else
       enable_decimal_float=yes
       ;;
     *)
-      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target" >&5
-$as_echo "$as_me: WARNING: decimal float is not supported for this target" >&2;}
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
+$as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
       enable_decimal_float=no
       ;;
   esac
@@ -4626,17 +4626,21 @@ 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
 
 
 
 
+# Use default_decimal_float for dependency.
+enable_decimal_float=$default_decimal_float
+
 # If BID is being used, additional objects should be linked in.
 if test x$enable_decimal_float = xbid; then
   ADDITIONAL_OBJS="$ADDITIONAL_OBJS \$(bid_OBJS)"
index a4cbf55f1a4486ea5d810a9e6c3cb894c62dc32d..87820bf22055a0c11bd6cab03664ceeff8245529 100644 (file)
@@ -78,6 +78,9 @@ AC_MSG_CHECKING([for decimal floating point])
 
 GCC_AC_ENABLE_DECIMAL_FLOAT([$target])
 
+# Use default_decimal_float for dependency.
+enable_decimal_float=$default_decimal_float
+
 # If BID is being used, additional objects should be linked in.
 if test x$enable_decimal_float = xbid; then
   ADDITIONAL_OBJS="$ADDITIONAL_OBJS \$(bid_OBJS)"
This page took 0.044385 seconds and 4 git commands to generate.