Commit f4dae9fc by Andreas Krebbel

configure: Regenerate.

gcc/

2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	    * configure: Regenerate.
	    * aclocal.m4: Regenerate.

libdecnumber/

2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	    * configure: Regenerate.
	    * aclocal.m4: Regenerate.

libgcc/

2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	    * configure: Regenerate.

From-SVN: r163816
parent 3c39bca6
...@@ -106,6 +106,7 @@ m4_include([../ltversion.m4]) ...@@ -106,6 +106,7 @@ m4_include([../ltversion.m4])
m4_include([../lt~obsolete.m4]) m4_include([../lt~obsolete.m4])
m4_include([../config/acx.m4]) m4_include([../config/acx.m4])
m4_include([../config/codeset.m4]) m4_include([../config/codeset.m4])
m4_include([../config/dfp.m4])
m4_include([../config/gettext-sister.m4]) m4_include([../config/gettext-sister.m4])
m4_include([../config/iconv.m4]) m4_include([../config/iconv.m4])
m4_include([../config/lcmessage.m4]) m4_include([../config/lcmessage.m4])
......
...@@ -6649,6 +6649,7 @@ fi ...@@ -6649,6 +6649,7 @@ fi
# Enable C extension for decimal float if target supports it. # Enable C extension for decimal float if target supports it.
# Check whether --enable-decimal-float was given. # Check whether --enable-decimal-float was given.
if test "${enable_decimal_float+set}" = set; then : if test "${enable_decimal_float+set}" = set; then :
enableval=$enable_decimal_float; enableval=$enable_decimal_float;
...@@ -6661,7 +6662,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;; ...@@ -6661,7 +6662,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
else else
case $target in case $target in
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*) powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux*)
enable_decimal_float=yes enable_decimal_float=yes
;; ;;
*) *)
...@@ -6674,18 +6675,11 @@ $as_echo "$as_me: WARNING: decimal float is not supported for this target" >&2;} ...@@ -6674,18 +6675,11 @@ $as_echo "$as_me: WARNING: decimal float is not supported for this target" >&2;}
fi fi
dfp=`if test $enable_decimal_float != no; then echo 1; else echo 0; fi`
cat >>confdefs.h <<_ACEOF
#define ENABLE_DECIMAL_FLOAT $dfp
_ACEOF
# x86's use BID format instead of DPD # x86's use BID format instead of DPD
case x$enable_decimal_float in case x$enable_decimal_float in
xyes) xyes)
case $target in case $target in
i?86*-*-linux* | x86_64*-*-linux*) i?86*-*-* | x86_64*-*-*)
enable_decimal_float=bid enable_decimal_float=bid
;; ;;
*) *)
...@@ -6701,6 +6695,15 @@ case x$enable_decimal_float in ...@@ -6701,6 +6695,15 @@ case x$enable_decimal_float in
esac esac
dfp=`if test $enable_decimal_float != no; then echo 1; else echo 0; fi`
cat >>confdefs.h <<_ACEOF
#define ENABLE_DECIMAL_FLOAT $dfp
_ACEOF
bid=`if test $enable_decimal_float = bid; then echo 1; else echo 0; fi` bid=`if test $enable_decimal_float = bid; then echo 1; else echo 0; fi`
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
...@@ -17130,7 +17133,7 @@ else ...@@ -17130,7 +17133,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF cat > conftest.$ac_ext <<_LT_EOF
#line 17133 "configure" #line 17136 "configure"
#include "confdefs.h" #include "confdefs.h"
#if HAVE_DLFCN_H #if HAVE_DLFCN_H
...@@ -17236,7 +17239,7 @@ else ...@@ -17236,7 +17239,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF cat > conftest.$ac_ext <<_LT_EOF
#line 17239 "configure" #line 17242 "configure"
#include "confdefs.h" #include "confdefs.h"
#if HAVE_DLFCN_H #if HAVE_DLFCN_H
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. # PARTICULAR PURPOSE.
m4_include([../config/dfp.m4])
m4_include([../config/override.m4]) m4_include([../config/override.m4])
m4_include([../config/stdint.m4]) m4_include([../config/stdint.m4])
m4_include([../config/warnings.m4]) m4_include([../config/warnings.m4])
...@@ -4588,6 +4588,8 @@ test -n "$target_alias" && ...@@ -4588,6 +4588,8 @@ test -n "$target_alias" &&
# If you change the defaults here, be sure to change them in the GCC directory also # If you change the defaults here, be sure to change them in the GCC directory also
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5
$as_echo_n "checking for decimal floating point... " >&6; } $as_echo_n "checking for decimal floating point... " >&6; }
# Check whether --enable-decimal-float was given. # Check whether --enable-decimal-float was given.
if test "${enable_decimal_float+set}" = set; then : if test "${enable_decimal_float+set}" = set; then :
enableval=$enable_decimal_float; enableval=$enable_decimal_float;
...@@ -4600,10 +4602,12 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;; ...@@ -4600,10 +4602,12 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
else else
case $target in case $target in
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*) powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux*)
enable_decimal_float=yes 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;}
enable_decimal_float=no enable_decimal_float=no
;; ;;
esac esac
...@@ -4612,18 +4616,26 @@ fi ...@@ -4612,18 +4616,26 @@ fi
# x86's use BID format instead of DPD # x86's use BID format instead of DPD
# In theory --enable-decimal-float=no should not compile anything case x$enable_decimal_float in
# For the sake of simplicity, just use the default format in this directory xyes)
if test x$enable_decimal_float = xyes -o x$enable_decimal_float = xno; then case $target in
case $target in i?86*-*-* | x86_64*-*-*)
i?86*-*-linux* | x86_64*-*-linux*) enable_decimal_float=bid
enable_decimal_float=bid ;;
;; *)
*) enable_decimal_float=dpd
enable_decimal_float=dpd ;;
;; esac
esac ;;
fi xno)
# ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
# dependency on libdecnumber.
enable_decimal_float=dpd
;;
esac
# If BID is being used, additional objects should be linked in. # If BID is being used, additional objects should be linked in.
if test x$enable_decimal_float = xbid; then if test x$enable_decimal_float = xbid; then
......
...@@ -3634,6 +3634,7 @@ $as_echo "$libgcc_cv_dfp" >&6; } ...@@ -3634,6 +3634,7 @@ $as_echo "$libgcc_cv_dfp" >&6; }
decimal_float=$libgcc_cv_dfp decimal_float=$libgcc_cv_dfp
# Check whether --enable-decimal-float was given. # Check whether --enable-decimal-float was given.
if test "${enable_decimal_float+set}" = set; then : if test "${enable_decimal_float+set}" = set; then :
enableval=$enable_decimal_float; enableval=$enable_decimal_float;
...@@ -3646,10 +3647,12 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;; ...@@ -3646,10 +3647,12 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
else else
case $host in case $host in
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*) powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux*)
enable_decimal_float=yes 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;}
enable_decimal_float=no enable_decimal_float=no
;; ;;
esac esac
...@@ -3658,16 +3661,25 @@ fi ...@@ -3658,16 +3661,25 @@ 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 case x$enable_decimal_float in
case $host in xyes)
i?86*-*-linux* | x86_64*-*-linux*) case $host in
enable_decimal_float=bid i?86*-*-* | x86_64*-*-*)
;; enable_decimal_float=bid
*) ;;
enable_decimal_float=dpd *)
;; enable_decimal_float=dpd
esac ;;
fi esac
;;
xno)
# ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
# dependency on libdecnumber.
enable_decimal_float=dpd
;;
esac
# Check for fixed-point support. # Check for fixed-point support.
......
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