This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r170211 - in /trunk/libquadmath: ChangeLog conf...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 16 Feb 2011 13:54:30 -0000
- Subject: r170211 - in /trunk/libquadmath: ChangeLog conf...
Author: jakub
Date: Wed Feb 16 13:54:30 2011
New Revision: 170211
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170211
Log:
* 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.
Modified:
trunk/libquadmath/ChangeLog
trunk/libquadmath/config.h.in
trunk/libquadmath/configure
trunk/libquadmath/configure.ac
trunk/libquadmath/printf/printf_fp.c
trunk/libquadmath/printf/printf_fphex.c
trunk/libquadmath/printf/quadmath-printf.c
trunk/libquadmath/printf/quadmath-printf.h