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
This commit is contained in:
parent
3c39bca6bb
commit
f4dae9fcc0
5 changed files with 64 additions and 35 deletions
1
gcc/aclocal.m4
vendored
1
gcc/aclocal.m4
vendored
|
@ -106,6 +106,7 @@ m4_include([../ltversion.m4])
|
|||
m4_include([../lt~obsolete.m4])
|
||||
m4_include([../config/acx.m4])
|
||||
m4_include([../config/codeset.m4])
|
||||
m4_include([../config/dfp.m4])
|
||||
m4_include([../config/gettext-sister.m4])
|
||||
m4_include([../config/iconv.m4])
|
||||
m4_include([../config/lcmessage.m4])
|
||||
|
|
25
gcc/configure
vendored
25
gcc/configure
vendored
|
@ -6649,6 +6649,7 @@ fi
|
|||
|
||||
|
||||
# Enable C extension for decimal float if target supports it.
|
||||
|
||||
# Check whether --enable-decimal-float was given.
|
||||
if test "${enable_decimal_float+set}" = set; then :
|
||||
enableval=$enable_decimal_float;
|
||||
|
@ -6661,7 +6662,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
|
|||
else
|
||||
|
||||
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
|
||||
;;
|
||||
*)
|
||||
|
@ -6674,18 +6675,11 @@ $as_echo "$as_me: WARNING: decimal float is not supported for this target" >&2;}
|
|||
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
|
||||
case x$enable_decimal_float in
|
||||
xyes)
|
||||
case $target in
|
||||
i?86*-*-linux* | x86_64*-*-linux*)
|
||||
i?86*-*-* | x86_64*-*-*)
|
||||
enable_decimal_float=bid
|
||||
;;
|
||||
*)
|
||||
|
@ -6701,6 +6695,15 @@ case x$enable_decimal_float in
|
|||
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`
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
|
@ -17130,7 +17133,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 17133 "configure"
|
||||
#line 17136 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -17236,7 +17239,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 17239 "configure"
|
||||
#line 17242 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
|
1
libdecnumber/aclocal.m4
vendored
1
libdecnumber/aclocal.m4
vendored
|
@ -11,6 +11,7 @@
|
|||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_include([../config/dfp.m4])
|
||||
m4_include([../config/override.m4])
|
||||
m4_include([../config/stdint.m4])
|
||||
m4_include([../config/warnings.m4])
|
||||
|
|
38
libdecnumber/configure
vendored
38
libdecnumber/configure
vendored
|
@ -4588,6 +4588,8 @@ test -n "$target_alias" &&
|
|||
# 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_n "checking for decimal floating point... " >&6; }
|
||||
|
||||
|
||||
# Check whether --enable-decimal-float was given.
|
||||
if test "${enable_decimal_float+set}" = set; then :
|
||||
enableval=$enable_decimal_float;
|
||||
|
@ -4600,10 +4602,12 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
|
|||
else
|
||||
|
||||
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
|
||||
;;
|
||||
*)
|
||||
{ $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
|
||||
;;
|
||||
esac
|
||||
|
@ -4612,18 +4616,26 @@ fi
|
|||
|
||||
|
||||
# x86's use BID format instead of DPD
|
||||
# In theory --enable-decimal-float=no should not compile anything
|
||||
# For the sake of simplicity, just use the default format in this directory
|
||||
if test x$enable_decimal_float = xyes -o x$enable_decimal_float = xno; then
|
||||
case $target in
|
||||
i?86*-*-linux* | x86_64*-*-linux*)
|
||||
enable_decimal_float=bid
|
||||
;;
|
||||
*)
|
||||
enable_decimal_float=dpd
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case x$enable_decimal_float in
|
||||
xyes)
|
||||
case $target in
|
||||
i?86*-*-* | x86_64*-*-*)
|
||||
enable_decimal_float=bid
|
||||
;;
|
||||
*)
|
||||
enable_decimal_float=dpd
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
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 test x$enable_decimal_float = xbid; then
|
||||
|
|
34
libgcc/configure
vendored
34
libgcc/configure
vendored
|
@ -3634,6 +3634,7 @@ $as_echo "$libgcc_cv_dfp" >&6; }
|
|||
decimal_float=$libgcc_cv_dfp
|
||||
|
||||
|
||||
|
||||
# Check whether --enable-decimal-float was given.
|
||||
if test "${enable_decimal_float+set}" = set; then :
|
||||
enableval=$enable_decimal_float;
|
||||
|
@ -3646,10 +3647,12 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
|
|||
else
|
||||
|
||||
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
|
||||
;;
|
||||
*)
|
||||
{ $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
|
||||
;;
|
||||
esac
|
||||
|
@ -3658,16 +3661,25 @@ fi
|
|||
|
||||
|
||||
# x86's use BID format instead of DPD
|
||||
if test x$enable_decimal_float = xyes; then
|
||||
case $host in
|
||||
i?86*-*-linux* | x86_64*-*-linux*)
|
||||
enable_decimal_float=bid
|
||||
;;
|
||||
*)
|
||||
enable_decimal_float=dpd
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case x$enable_decimal_float in
|
||||
xyes)
|
||||
case $host in
|
||||
i?86*-*-* | x86_64*-*-*)
|
||||
enable_decimal_float=bid
|
||||
;;
|
||||
*)
|
||||
enable_decimal_float=dpd
|
||||
;;
|
||||
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue