aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-11-20 10:18:18 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-11-20 10:18:18 +0000
commit614984da76b4e4c818eb4fa8e2b96d4c227c653b (patch)
treeb9c8e6f00c13e2ade56f663bb59b6b112d24836e /sim
parent34452aa40a7329c3b2f2666e4534ed9f1d3f3b88 (diff)
downloadgdb-614984da76b4e4c818eb4fa8e2b96d4c227c653b.zip
gdb-614984da76b4e4c818eb4fa8e2b96d4c227c653b.tar.gz
gdb-614984da76b4e4c818eb4fa8e2b96d4c227c653b.tar.bz2
* Makefile.in: Delete stuff moved to ../common/Make-common.in.
(SIM_OBJS,SIM_EXTRA_LIBS): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. Call AC_CHECK_HEADERS(unistd.h). * configure: Regenerated. * config.in: New file. * interp.c: #include "config.h". #include <unistd.h> if present. (trap): Fetch errno value with callback->get_errno.
Diffstat (limited to 'sim')
-rw-r--r--sim/sh/.Sanitize1
-rw-r--r--sim/sh/configure.in25
2 files changed, 4 insertions, 22 deletions
diff --git a/sim/sh/.Sanitize b/sim/sh/.Sanitize
index 7ab53a0..4b62874 100644
--- a/sim/sh/.Sanitize
+++ b/sim/sh/.Sanitize
@@ -27,6 +27,7 @@ Things-to-keep:
ChangeLog
Makefile.in
+config.in
configure
configure.in
interp.c
diff --git a/sim/sh/configure.in b/sim/sh/configure.in
index 09ae59d..b31f21c 100644
--- a/sim/sh/configure.in
+++ b/sim/sh/configure.in
@@ -2,27 +2,8 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.5)dnl
AC_INIT(Makefile.in)
-AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-AC_PROG_CC
-AC_PROG_INSTALL
+SIM_AC_COMMON
-. ${srcdir}/../../bfd/configure.host
+AC_CHECK_HEADERS(unistd.h)
-AC_SUBST(CFLAGS)
-AC_SUBST(HDEFINES)
-AR=${AR-ar}
-AC_SUBST(AR)
-AC_PROG_RANLIB
-
-# Put a plausible default for CC_FOR_BUILD in Makefile.
-AC_C_CROSS
-if test "x$cross_compiling" = "xno"; then
- CC_FOR_BUILD='$(CC)'
-else
- CC_FOR_BUILD=gcc
-fi
-AC_SUBST(CC_FOR_BUILD)
-
-AC_OUTPUT(Makefile)
+SIM_AC_OUTPUT