aboutsummaryrefslogtreecommitdiff
path: root/gdb/config.in
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-03-31 01:04:37 +0000
committerFred Fish <fnf@specifix.com>1996-03-31 01:04:37 +0000
commit07b77f5ca4f7a43b63646c28d06e2261394cd78c (patch)
treee9b88d67f89b406ad16f44ad308af4d98ad6c9ba /gdb/config.in
parent452ad97eb9e9a08f0e46a8608a2b7b1b5eaf5e18 (diff)
downloadgdb-07b77f5ca4f7a43b63646c28d06e2261394cd78c.zip
gdb-07b77f5ca4f7a43b63646c28d06e2261394cd78c.tar.gz
gdb-07b77f5ca4f7a43b63646c28d06e2261394cd78c.tar.bz2
* 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.
Diffstat (limited to 'gdb/config.in')
-rw-r--r--gdb/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/config.in b/gdb/config.in
index a3f8f2e..1667bd3 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -35,6 +35,9 @@
/* 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
+
/* Define if you have the getpagesize function. */
#undef HAVE_GETPAGESIZE