diff options
author | Michael Meissner <gnu@the-meissners.org> | 1996-09-11 20:54:21 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1996-09-11 20:54:21 +0000 |
commit | ead4a3f157e7989724161a0a510dca58b0678c74 (patch) | |
tree | 62fcca4bdf1597975a45764687e82d2886cd33d9 /sim/v850/configure.in | |
parent | 1decafee51957f3d3cfd6f14239a1f0bc606f841 (diff) | |
download | gdb-ead4a3f157e7989724161a0a510dca58b0678c74.zip gdb-ead4a3f157e7989724161a0a510dca58b0678c74.tar.gz gdb-ead4a3f157e7989724161a0a510dca58b0678c74.tar.bz2 |
Add tracing support; Fix some problems with hardwired sizes
Diffstat (limited to 'sim/v850/configure.in')
-rw-r--r-- | sim/v850/configure.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sim/v850/configure.in b/sim/v850/configure.in index 6bc9b3c..cd1700a 100644 --- a/sim/v850/configure.in +++ b/sim/v850/configure.in @@ -11,11 +11,24 @@ AC_C_BIGENDIAN . ${srcdir}/../../bfd/configure.host +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 |