diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-09-28 20:17:32 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-09-28 20:17:32 +0000 |
commit | 0dad8a664080c121c83184729c23523481642a9a (patch) | |
tree | afed4ce60eefd9b299bb31aee605911fe308b574 /gdb/configure.in | |
parent | e8d74ed38e1accc1c90d7fdaa5f19952ff109ee2 (diff) | |
download | gdb-0dad8a664080c121c83184729c23523481642a9a.zip gdb-0dad8a664080c121c83184729c23523481642a9a.tar.gz gdb-0dad8a664080c121c83184729c23523481642a9a.tar.bz2 |
* configure.in: Only set host_makefile_frag when building a native
debugger.
* configure: Regenerate.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 41e5404..775a94d5 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -1422,22 +1422,19 @@ fi AC_SUBST(target_subdir) frags= -host_makefile_frag=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh -if test ! -f ${host_makefile_frag}; then - # 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 +if test "${target}" = "${host}"; then + 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 native target ${host}") + fi + frags="$frags $host_makefile_frag" +else + host_makefile_frag=/dev/null fi -frags="$frags $host_makefile_frag" target_makefile_frag=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt if test ! -f ${target_makefile_frag}; then -AC_MSG_ERROR("*** Gdb does not support target ${target}") + AC_MSG_ERROR("*** Gdb does not support target ${target}") fi frags="$frags $target_makefile_frag" |