diff options
Diffstat (limited to 'gdb/gdbserver/configure.in')
-rw-r--r-- | gdb/gdbserver/configure.in | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/gdb/gdbserver/configure.in b/gdb/gdbserver/configure.in index ebf8762..442f170 100644 --- a/gdb/gdbserver/configure.in +++ b/gdb/gdbserver/configure.in @@ -1,5 +1,5 @@ dnl Autoconf configure script for GDB server. -dnl Copyright 2000 Free Software Foundation, Inc. +dnl Copyright 2000, 2002 Free Software Foundation, Inc. dnl dnl This file is part of GDB. dnl @@ -20,10 +20,19 @@ dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl Process this file with autoconf to produce a configure script. AC_INIT(server.c) +AC_CONFIG_HEADER(config.h:config.in) + +AC_PROG_CC +AM_PROG_CC_STDC AC_CANONICAL_SYSTEM + AC_PROG_INSTALL +AC_STDC_HEADERS + +AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h) + . ${srcdir}/../configure.host . ${srcdir}/../configure.tgt @@ -61,30 +70,4 @@ s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p fi changequote([,])dnl -# If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile -# (NAT_FILE) is not set in the ?config/* file, we don't make the -# corresponding links. But we have to remove the xm.h files and tm.h -# files anyway, e.g. when switching from "configure host" to -# "configure none". - -files= -links= -rm -f xm.h -rm -f ser-hardwire.c -if test "${hostfile}" != ""; then - files="${files} ../config/${gdb_host_cpu}/${hostfile}" - links="${links} xm.h" -fi -rm -f tm.h -if test "${targetfile}" != ""; then - files="${files} ../config/${gdb_target_cpu}/${targetfile}" - links="${links} tm.h" -fi -rm -f nm.h -if test "${nativefile}" != ""; then - files="${files} ../config/${gdb_host_cpu}/${nativefile}" - links="${links} nm.h" -fi -AC_LINK_FILES($files, $links) - AC_OUTPUT(Makefile) |