diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1996-11-20 10:27:55 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1996-11-20 10:27:55 +0000 |
commit | 5f270267a7ee436600fe4aa2c4db5db4f210e580 (patch) | |
tree | 204d194706ad5088a1aa2d245022ba7509f2c351 /sim/v850 | |
parent | 614984da76b4e4c818eb4fa8e2b96d4c227c653b (diff) | |
download | gdb-5f270267a7ee436600fe4aa2c4db5db4f210e580.zip gdb-5f270267a7ee436600fe4aa2c4db5db4f210e580.tar.gz gdb-5f270267a7ee436600fe4aa2c4db5db4f210e580.tar.bz2 |
* Makefile.in: Delete stuff moved to ../common/Make-common.in.
(SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define.
* configure.in: Simplify using macros in ../common/aclocal.m4.
Call AC_CHECK_HEADERS(unistd.h).
* configure: Regenerated.
* config.in: New file.
* simops.c: #include "config.h". #include <unistd.h> if present.
Diffstat (limited to 'sim/v850')
-rw-r--r-- | sim/v850/.Sanitize | 1 | ||||
-rw-r--r-- | sim/v850/configure.in | 39 |
2 files changed, 4 insertions, 36 deletions
diff --git a/sim/v850/.Sanitize b/sim/v850/.Sanitize index 5ae07e7..e767bef 100644 --- a/sim/v850/.Sanitize +++ b/sim/v850/.Sanitize @@ -25,6 +25,7 @@ Things-to-keep: ChangeLog Makefile.in +config.in configure configure.in v850_sim.h diff --git a/sim/v850/configure.in b/sim/v850/configure.in index cd1700a..b31f21c 100644 --- a/sim/v850/configure.in +++ b/sim/v850/configure.in @@ -2,41 +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 -AC_C_BIGENDIAN +SIM_AC_COMMON -. ${srcdir}/../../bfd/configure.host +AC_CHECK_HEADERS(unistd.h) -AC_ARG_ENABLE(sim-cflags, -[ --enable-sim-cflags=opts Extra CFLAGS for use in building simulator], -[case "${enableval}" in - yes) sim_cflags="-O2";; - trace) sim_cflags="-O2 -DDEBUG=3";; - no) sim_cflags="";; - *) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /g"`;; -esac -if test x"$silent" != x"yes" && test x"$sim_cflags" != x""; then - echo "Setting sim cflags = $sim_cflags" 6>&1 -fi],[sim_cflags=""])dnl - -AC_SUBST(CFLAGS) -AC_SUBST(HDEFINES) -AR=${AR-ar} -AC_SUBST(AR) -AC_PROG_RANLIB -AC_SUBST(sim_cflags) - -# 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 |