aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/configure.in
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-11-20 09:38:10 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-11-20 09:38:10 +0000
commitd70e3e2b7b737dc55e48b7846097316e1d5e74f3 (patch)
treecb10c5222f9da9cff9fa61749878170234b08eb7 /sim/erc32/configure.in
parent27bc3f8ecbbb6b02403adf17c0d8f92cfa4f8264 (diff)
downloadgdb-d70e3e2b7b737dc55e48b7846097316e1d5e74f3.zip
gdb-d70e3e2b7b737dc55e48b7846097316e1d5e74f3.tar.gz
gdb-d70e3e2b7b737dc55e48b7846097316e1d5e74f3.tar.bz2
* Makefile.in: Delete stuff moved to ../common/Make-common.in.
(SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define. (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. Call AC_CHECK_HEADERS(stdlib.h). * configure: Regenerated. * config.in: New file. * func.c (sim_set_callbacks): Delete, moved to * interf.c (sim_set_callbacks): here. (sim_callback): New global. Rewrite all calls to printf_filtered to go through callback. (sim_size,sim_trace): New functions. (sim_{insert,remove}_breakpoint): #if 0 out. * sis.c: #include "config.h". #include <stdlib.h> if present. (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype. * sis.h: #include "callback.h".
Diffstat (limited to 'sim/erc32/configure.in')
-rw-r--r--sim/erc32/configure.in27
1 files changed, 3 insertions, 24 deletions
diff --git a/sim/erc32/configure.in b/sim/erc32/configure.in
index 33ad604..501b59e 100644
--- a/sim/erc32/configure.in
+++ b/sim/erc32/configure.in
@@ -2,29 +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(stdlib.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 -z "$CC_FOR_BUILD"; then
- if test "x$cross_compiling" = "xno"; then
- CC_FOR_BUILD='$(CC)'
- else
- CC_FOR_BUILD=gcc
- fi
-fi
-AC_SUBST(CC_FOR_BUILD)
-
-AC_OUTPUT(Makefile)
+SIM_AC_OUTPUT