diff options
| author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-16 13:54:30 +0000 |
|---|---|---|
| committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-16 13:54:30 +0000 |
| commit | 1aca2b0fc16540e64ac8edfd35b3cfd02b418d78 (patch) | |
| tree | f3947cffa865d6825f1d64a027010b829f2e6182 /libquadmath/ChangeLog | |
| parent | 582d616d1621d35ef00539d65c30c35cff96ee3b (diff) | |
| download | ppe42-gcc-1aca2b0fc16540e64ac8edfd35b3cfd02b418d78.tar.gz ppe42-gcc-1aca2b0fc16540e64ac8edfd35b3cfd02b418d78.zip | |
* printf/quadmath-printf.c: Also check __GLIBC__ when checking
whether workarounds for printf hook handling should be added.
* configure.ac: Check for locale.h too.
(USE_LOCALE_SUPPORT): Remove check.
(USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
(USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
* printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
for wide version.
* printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
* printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
(__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
USE_I18N_NUMBER_H #ifdef.
* configure: Regenerated.
* config.h.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170211 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libquadmath/ChangeLog')
| -rw-r--r-- | libquadmath/ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index c451c8fd86b..b8706ae676a 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,24 @@ +2011-02-16 Jakub Jelinek <jakub@redhat.com> + + * printf/quadmath-printf.c: Also check __GLIBC__ when checking + whether workarounds for printf hook handling should be added. + + * configure.ac: Check for locale.h too. + (USE_LOCALE_SUPPORT): Remove check. + (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks. + (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX. + * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo + or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC + for wide version. + * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H. + * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0. + (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow + version and nl_langinfo if USE_NL_LANGINFO_WC for wide version. + Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with + USE_I18N_NUMBER_H #ifdef. + * configure: Regenerated. + * config.h.in: Regenerated. + 2011-02-14 Jakub Jelinek <jakub@redhat.com> PR bootstrap/47736 |

