2002-01-15 Andrew Cagney * configure.in (host_makefile_frag): Only require a host makefile fragment when a native build. * configure: Re-generate. Index: configure.in =================================================================== RCS file: /cvs/src/src/gdb/configure.in,v retrieving revision 1.78 diff -p -r1.78 configure.in *** configure.in 2002/01/05 22:06:38 1.78 --- configure.in 2002/01/16 04:36:34 *************** AC_SUBST(target_subdir) *** 1203,1209 **** 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}") fi frags="$frags $host_makefile_frag" --- 1203,1216 ---- 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 host ${host}") ! else ! host_makefile_frag=/dev/null ! fi fi frags="$frags $host_makefile_frag"