aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-29 19:33:22 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-29 19:33:22 +0000
commitc35f4ffcade07bba900aa312c2d0c2242113c5d4 (patch)
treee390333b017573517e5a1a7e3fcb2700c655831b /gdb/configure.in
parent624a44a3c41144731bebbdbe1c3994ed868951e3 (diff)
downloadgdb-c35f4ffcade07bba900aa312c2d0c2242113c5d4.zip
gdb-c35f4ffcade07bba900aa312c2d0c2242113c5d4.tar.gz
gdb-c35f4ffcade07bba900aa312c2d0c2242113c5d4.tar.bz2
2004-07-29 Andrew Cagney <cagney@gnu.org>
* config/pa/xm-linux.h: Do not include "floatformat.h". (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT): Delete macros. * config/i386/xm-i386.h: Do not include "floatformat.h". (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT): Delete macros. * doublest.c (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT): Delete macros. Use GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT and GDB_HOST_LONG_DOUBLE_FORMAT instead. * configure.in (GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT) (GDB_HOST_LONG_DOUBLE_FORMAT): Define. * configure, config.in: Regenerate. * configure.host (gdb_host_float_format, gdb_host_double_format) (gdb_host_long_double_format): Set according to the host.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index ef5f17a..f5f3e98 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -1300,6 +1300,11 @@ AC_SUBST(CONFIG_CLEAN)
AC_SUBST(CONFIG_INSTALL)
AC_SUBST(CONFIG_UNINSTALL)
+# List of host floatformats.
+AC_DEFINE_UNQUOTED(GDB_HOST_FLOAT_FORMAT,$gdb_host_float_format,[Host float floatformat])
+AC_DEFINE_UNQUOTED(GDB_HOST_DOUBLE_FORMAT,$gdb_host_double_format,[Host double floatformat])
+AC_DEFINE_UNQUOTED(GDB_HOST_LONG_DOUBLE_FORMAT,$gdb_host_long_double_format,[Host long double floatformat])
+
# target_subdir is used by the testsuite to find the target libraries.
target_subdir=
if test "${host}" != "${target}"; then