* configure.in: Check whether printf family supports printing

long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so.
	* acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE.
	* configure: Regenerate.
	* valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE.
	* c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE.
	* configure.in: Fix have_gregset and have_fpregset autoconf
	variable names so that they match the pattern required to
	cache them.
This commit is contained in:
Fred Fish
1996-03-31 01:04:37 +00:00
parent 452ad97eb9
commit 07b77f5ca4
6 changed files with 140 additions and 55 deletions

View File

@ -4,3 +4,6 @@
/* Define if gregset_t type is available. */
#undef HAVE_GREGSET_T
/* Define if the "%Lg" format works to print long doubles. */
#undef PRINTF_HAS_LONG_DOUBLE