aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 5b17104..55dc2be 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)