diff options
author | Daniel Jacobowitz <dan@debian.org> | 2006-02-10 21:53:51 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2006-02-10 21:53:51 +0000 |
commit | 42b9e4ab6824f8aac16c6b67cf5eab736ba62272 (patch) | |
tree | 7b0432b0f5bf9f180adcbef5514b4964d3727b1e /gdb/configure.ac | |
parent | a8cfed2abc1aa33b186d2efa729de128ace35a9f (diff) | |
download | gdb-42b9e4ab6824f8aac16c6b67cf5eab736ba62272.tar.gz |
* Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies.
(ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c.
* configure.ac: Add gdb_host_obs to CONFIG_OBS. Set gdb_host_obs
to posix-hdep.o by default.
* configure: Regenerated.
* configure.host: Document gdb_host_obs. Add an entry for
i[34567]86-*-mingw32*.
* mingw-hdep.c, posix-hdep.c: New files.
* utils.c (safe_strerror): Remove, moved to posix-hdep.o.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 5b17104bd72..55dc2be75b3 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -112,6 +112,10 @@ AC_DEFINE_DIR(DEBUGDIR, debugdir, AC_CONFIG_SUBDIRS(doc testsuite) +# Provide defaults for some variables set by the per-host and per-target +# configuration. +gdb_host_obs=posix-hdep.o + . $srcdir/configure.host . $srcdir/configure.tgt @@ -1225,6 +1229,9 @@ case ${host} in esac AC_SUBST(WIN32LIBS) +# Add any host-specific objects to GDB. +CONFIG_OBS="${CONFIG_OBS} ${gdb_host_obs}" + LIBGUI="../libgui/src/libgui.a" GUI_CFLAGS_X="-I${srcdir}/../libgui/src" AC_SUBST(LIBGUI) |