OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [VER_5_3/] [gdb-5.3/] [sim/] [mn10300/] [configure.in] - Diff between revs 1182 and 1765

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 1182 Rev 1765
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
sinclude(../common/aclocal.m4)
sinclude(../common/aclocal.m4)
dnl 2.12 botches SHELL substitution
dnl 2.12 botches SHELL substitution
AC_PREREQ(2.12.1)dnl
AC_PREREQ(2.12.1)dnl
AC_INIT(Makefile.in)
AC_INIT(Makefile.in)
SIM_AC_COMMON
SIM_AC_COMMON
SIM_AC_OPTION_ENDIAN(LITTLE_ENDIAN)
SIM_AC_OPTION_ENDIAN(LITTLE_ENDIAN)
SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
SIM_AC_OPTION_HOSTENDIAN
SIM_AC_OPTION_HOSTENDIAN
SIM_AC_OPTION_WARNINGS
SIM_AC_OPTION_WARNINGS
SIM_AC_OPTION_RESERVED_BITS
SIM_AC_OPTION_RESERVED_BITS
SIM_AC_OPTION_BITSIZE(32,31)
SIM_AC_OPTION_BITSIZE(32,31)
SIM_AC_OPTION_INLINE()
SIM_AC_OPTION_INLINE()
SIM_AC_OPTION_HARDWARE(yes,,mn103cpu mn103int mn103tim mn103ser mn103iop)
SIM_AC_OPTION_HARDWARE(yes,,mn103cpu mn103int mn103tim mn103ser mn103iop)
AC_CHECK_FUNCS(time chmod utime fork execve execv chown)
AC_CHECK_FUNCS(time chmod utime fork execve execv chown)
AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h utime.h time.h)
AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h utime.h time.h)
#
#
# Enable common
# Enable common
#
#
AC_ARG_ENABLE(sim-common,
AC_ARG_ENABLE(sim-common,
[  --enable-sim-common                  Enable common simulator],
[  --enable-sim-common                  Enable common simulator],
[case "${enableval}" in
[case "${enableval}" in
  yes) sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH";;
  yes) sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH";;
  no)  sim_gen="-DWITH_COMMON=0"; mn10300_common="WITHOUT";;
  no)  sim_gen="-DWITH_COMMON=0"; mn10300_common="WITHOUT";;
  *)   AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-common"); sim_gen="";;
  *)   AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-common"); sim_gen="";;
esac
esac
if test x"$silent" != x"yes" && test x"$sim_gen" != x""; then
if test x"$silent" != x"yes" && test x"$sim_gen" != x""; then
  echo "Setting sim_common = $sim_common" 6>&1
  echo "Setting sim_common = $sim_common" 6>&1
fi],[sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH"])dnl
fi],[sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH"])dnl
AC_SUBST(sim_gen)
AC_SUBST(sim_gen)
AC_SUBST(mn10300_common)
AC_SUBST(mn10300_common)
SIM_AC_OUTPUT
SIM_AC_OUTPUT
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.