aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-04-12 06:14:46 +0000
committerFred Fish <fnf@specifix.com>1996-04-12 06:14:46 +0000
commitd8efbc667982b811782f23666ac6ce50a47848a1 (patch)
tree801850d99112529ffcfe489ddcedaee1d834ebf5 /gdb/configure.in
parent4eaf7c0a947cb8972ccaa8a7ee18147ace5a1155 (diff)
downloadgdb-d8efbc667982b811782f23666ac6ce50a47848a1.zip
gdb-d8efbc667982b811782f23666ac6ce50a47848a1.tar.gz
gdb-d8efbc667982b811782f23666ac6ce50a47848a1.tar.bz2
From: Miles Bader <miles@gnu.ai.mit.edu>
* configure.in (AC_CHECK_HEADERS): check for endian.h. Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK. Add host & target cases for i[345]86-*-gnu*. * config.in: Regenerate with autoheader. * configure: Regenerate with autoconf. * Makefile.in (AR, AWK): Set from corresponding autoconf substs. (init.c): Don't scan mig-generated files. * defs.h (endian.h): Include if HAVE_ENDIAN_H defined. * config/nm-m3.h (ATTACH_NO_WAIT): Define. * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT" rather than "#ifndef MACH".
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index a0dddcd..2396135 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -29,15 +29,17 @@ AC_MINIX
AC_ISC_POSIX
AC_PROG_INSTALL
-AC_PROG_RANLIB
+AC_CHECK_TOOL(AR, ar)
+AC_CHECK_TOOL(RANLIB, ranlib, :)
AC_PROG_YACC
+AC_PROG_AWK
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
AC_HEADER_STDC
-AC_CHECK_HEADERS(limits.h memory.h string.h strings.h unistd.h termios.h termio.h sgtty.h stddef.h sys/procfs.h link.h)
+AC_CHECK_HEADERS(limits.h memory.h string.h strings.h unistd.h termios.h termio.h sgtty.h stddef.h sys/procfs.h link.h endian.h)
AC_HEADER_STAT
AC_CHECK_FUNCS(setpgid)
@@ -312,6 +314,7 @@ i[3456]86-*-linux*) gdb_host=linux ;;
i[3456]86-*-lynxos*) gdb_host=i386lynx ;;
i[3456]86-*-mach3*) gdb_host=i386m3 ;;
i[3456]86-*-mach*) gdb_host=i386mach ;;
+i[3456]86-*-gnu*) gdb_host=i386gnu ;;
i[3456]86-*-osf1mk*) gdb_host=osf1mk ;;
i[3456]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
i[3456]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
@@ -491,6 +494,7 @@ i[3456]86-*-linux*) gdb_target=linux
i[3456]86-*-isc*) gdb_target=i386v ;;
i[3456]86-*-mach3*) gdb_target=i386m3 ;;
i[3456]86-*-mach*) gdb_target=i386mach ;;
+i[3456]86-*-gnu*) gdb_target=i386gnu ;;
i[3456]86-*-netware*) gdb_target=i386nw
configdirs="${configdirs} nlm" ;;
i[3456]86-*-osf1mk*) gdb_target=i386mk ;;