diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-01-20 18:19:30 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-01-20 18:19:30 +0000 |
commit | 7fd605275856aa86a4ac6651ea2686fb937eb0a7 (patch) | |
tree | 2af221206278f35d718dd96d157fcfdaa5682f48 /gdb/configure.in | |
parent | c2f05ac92e7fe9e3161ae09ea3f9e0937af42abc (diff) | |
download | gdb-7fd605275856aa86a4ac6651ea2686fb937eb0a7.zip gdb-7fd605275856aa86a4ac6651ea2686fb937eb0a7.tar.gz gdb-7fd605275856aa86a4ac6651ea2686fb937eb0a7.tar.bz2 |
Remove assumption that there is a host.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 6eef43c..25d7068 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -1203,7 +1203,14 @@ AC_SUBST(target_subdir) frags= host_makefile_frag=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh if test ! -f ${host_makefile_frag}; then -AC_MSG_ERROR("*** Gdb does not support host ${host}") + # When building a native debuger the .mh file containing things + # like NATDEPFILES is needed. Cross debuggers don't need .mh + # since it no longer contains anything useful. + if test "${target}" = "${host}"; then + AC_MSG_ERROR("*** Gdb does not support native target ${host}") + else + host_makefile_frag=/dev/null + fi fi frags="$frags $host_makefile_frag" |