diff options
author | Daniel Jacobowitz <dan@debian.org> | 2002-02-25 02:49:02 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2002-02-25 02:49:02 +0000 |
commit | db409380f253fc3c2149c5ccc9ebfbab25740819 (patch) | |
tree | b7423836d545c0db93eb04b2401e8553fc38f5e0 /gdb/gdbserver/configure.in | |
parent | ae6defbe7dc1084ade1f7ae27b646472f398aa78 (diff) | |
download | gdb-db409380f253fc3c2149c5ccc9ebfbab25740819.tar.gz |
2002-02-24 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/configure.srv: New file.
* gdbserver/configure.in: Use configure.srv instead
of the host/target makefile fragments. Set GDBSERVER_DEPFILES
from it.
* gdbserver/configure: Regenerated.
* gdbserver/terminal.h: New file.
* gdbserver/Makefile.in: Update for configure changes. Remove
more unneeded include paths.
Diffstat (limited to 'gdb/gdbserver/configure.in')
-rw-r--r-- | gdb/gdbserver/configure.in | 37 |
1 files changed, 3 insertions, 34 deletions
diff --git a/gdb/gdbserver/configure.in b/gdb/gdbserver/configure.in index fe43821f382..28f95a64ed1 100644 --- a/gdb/gdbserver/configure.in +++ b/gdb/gdbserver/configure.in @@ -32,41 +32,10 @@ AC_HEADER_STDC AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h) -. ${srcdir}/../configure.host +. ${srcdir}/configure.srv -. ${srcdir}/../configure.tgt +GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj" -frags= -host_makefile_frag=${srcdir}/../config/${gdb_host_cpu}/${gdb_host}.mh -if test ! -f ${host_makefile_frag}; then - AC_MSG_ERROR("*** GDB remote does not support host ${host}") -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 remote does not support target ${target}") -fi -frags="$frags $target_makefile_frag" - -AC_SUBST_FILE(host_makefile_frag) -AC_SUBST_FILE(target_makefile_frag) -AC_SUBST(frags) - -changequote(,)dnl -hostfile=`sed -n ' -s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p -' ${host_makefile_frag}` - -targetfile=`sed -n ' -s/TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p -' ${target_makefile_frag}` - -if test "${target}" = "${host}"; then -nativefile=`sed -n ' -s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p -' ${host_makefile_frag}` -fi -changequote([,])dnl +AC_SUBST(GDBSERVER_DEPFILES) AC_OUTPUT(Makefile) |