aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/configure.in
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-11-20 10:00:42 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-11-20 10:00:42 +0000
commite3d12c659545646ae6d264cce8c9ae9e217240eb (patch)
treedd75c2ca22631d73730b16ab7b8e6e7a68c3cb3f /sim/mips/configure.in
parent899232aba0644aa6cd0298bf06b06279eac6da76 (diff)
downloadgdb-e3d12c659545646ae6d264cce8c9ae9e217240eb.zip
gdb-e3d12c659545646ae6d264cce8c9ae9e217240eb.tar.gz
gdb-e3d12c659545646ae6d264cce8c9ae9e217240eb.tar.bz2
* Makefile.in: Delete stuff moved to ../common/Make-common.in.
(SIM_{OBJS,EXTRA_CFLAGS,EXTRA_CLEAN}): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. * configure: Regenerated. * tconfig.in: New file.
Diffstat (limited to 'sim/mips/configure.in')
-rw-r--r--sim/mips/configure.in31
1 files changed, 3 insertions, 28 deletions
diff --git a/sim/mips/configure.in b/sim/mips/configure.in
index 5622c07..a27b1e3 100644
--- a/sim/mips/configure.in
+++ b/sim/mips/configure.in
@@ -2,21 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.5)dnl
AC_INIT(Makefile.in)
-AC_CONFIG_HEADER(config.h:config.in)
-
-AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-AC_PROG_CC
-AC_PROG_INSTALL
-
-. ${srcdir}/../../bfd/configure.host
-
-AC_SUBST(CFLAGS)
-AC_SUBST(HDEFINES)
-AR=${AR-ar}
-AC_SUBST(AR)
-AC_PROG_RANLIB
+SIM_AC_COMMON
# Ensure a reasonable default simulator is constructed:
case "${target}" in
@@ -24,21 +10,10 @@ case "${target}" in
mips*-*-*) SIMCONF="-mips2 --warnings";;
*) SIMCONF="-mips0 --warnings";;
esac
-
-# 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_SUBST(SIMCONF)
AC_CHECK_HEADERS(string.h strings.h stdlib.h)
AC_CHECK_LIB(m, fabs)
AC_CHECK_FUNCS(aint anint sqrt)
-AC_SUBST(SIMCONF)
-
-AC_OUTPUT(Makefile,
-[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])
+SIM_AC_OUTPUT