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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [configure.ac] - Diff between revs 124 and 127

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 124 Rev 127
Line 26... Line 26...
# Process this file with autoconf to produce a configure script.
# Process this file with autoconf to produce a configure script.
 
 
 
 
# Use a full version number (x.y.z, possibly with "rcn" as a suffix) when
# Use a full version number (x.y.z, possibly with "rcn" as a suffix) when
# preparing a release, otherwise use a the date version (yyyy-mm-dd).
# preparing a release, otherwise use a the date version (yyyy-mm-dd).
AC_INIT([or1ksim], [2010-06-15], [openrisc@opencores.org])
AC_INIT([or1ksim], [0.4.0rc2], [openrisc@opencores.org])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_MACRO_DIR([m4])
 
 
# Generically use extensions such as _GNU_SOURCE if available.
# Generically use extensions such as _GNU_SOURCE if available.
AC_USE_SYSTEM_EXTENSIONS
AC_USE_SYSTEM_EXTENSIONS
 
 
Line 44... Line 44...
AC_PROG_LIBTOOL
AC_PROG_LIBTOOL
AM_INIT_AUTOMAKE
AM_INIT_AUTOMAKE
 
 
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_HEADERS([config.h])
 
 
AC_REVISION([$Id: configure.ac 124 2010-06-15 18:41:00Z jeremybennett $ using automake version] AC_ACVERSION)
AC_REVISION([$Id: configure.ac 127 2010-06-16 14:23:06Z jeremybennett $ using automake version] AC_ACVERSION)
 
 
# make sure we are using a recent autoconf version
# make sure we are using a recent autoconf version
AC_PREREQ(2.59)
AC_PREREQ(2.59)
 
 
# yuck.
# yuck.
Line 251... Line 251...
        yes) eth_phy="1" ;;
        yes) eth_phy="1" ;;
    esac
    esac
])
])
AC_MSG_RESULT(${enable_eth_phy-no})
AC_MSG_RESULT(${enable_eth_phy-no})
 
 
 
unsigned_xori="0"
 
AC_MSG_CHECKING(whether l.xori takes an unsigned immediate operand)
 
AC_ARG_ENABLE(unsigned-xori,
 
    [  --enable-unsigned-xori    l.xori immediate operand treated as unsigned], [
 
    case "$enableval" in
 
  no)  unsigned_xori="0" ;;
 
        yes) unsigned_xori="1" ;;
 
    esac
 
])
 
AC_MSG_RESULT(${enable_unsigned_xori-no})
 
 
raw_range_stats="0"
raw_range_stats="0"
AC_MSG_CHECKING(whether to use raw range stats)
AC_MSG_CHECKING(whether to use raw range stats)
AC_ARG_ENABLE(range_stats,
AC_ARG_ENABLE(range_stats,
    [  --enable-range-stats      Specifies, whether we should do register accesses over time analysis.], [
    [  --enable-range-stats      Specifies, whether we should do register accesses over time analysis.], [
Line 280... Line 290...
    )
    )
AC_SUBST(DEBUGFLAGS)
AC_SUBST(DEBUGFLAGS)
 
 
AC_DEFINE_UNQUOTED(RAW_RANGE_STATS, $raw_range_stats, [ Specifies, whether we should do register accesses over time analysis. Simple execution must be enabled!])
AC_DEFINE_UNQUOTED(RAW_RANGE_STATS, $raw_range_stats, [ Specifies, whether we should do register accesses over time analysis. Simple execution must be enabled!])
AC_DEFINE_UNQUOTED(HAVE_ETH_PHY, $eth_phy, [Whether we have ethernet PHY support])
AC_DEFINE_UNQUOTED(HAVE_ETH_PHY, $eth_phy, [Whether we have ethernet PHY support])
 
AC_DEFINE_UNQUOTED(HAVE_UNSIGNED_XORI, $unsigned_xori, [Whether l.xori takes an unsigned immediate operand])
AC_DEFINE_UNQUOTED(SIMPLE_EXECUTION, $execution == 0, [Whether we are building with simple execution module])
AC_DEFINE_UNQUOTED(SIMPLE_EXECUTION, $execution == 0, [Whether we are building with simple execution module])
AC_DEFINE_UNQUOTED(COMPLEX_EXECUTION, $execution == 1, [Whether we are building with complex execution module])
AC_DEFINE_UNQUOTED(COMPLEX_EXECUTION, $execution == 1, [Whether we are building with complex execution module])
AC_DEFINE_UNQUOTED(DYNAMIC_EXECUTION, $execution == 2, [Whether we are building with dynamic execution module])
AC_DEFINE_UNQUOTED(DYNAMIC_EXECUTION, $execution == 2, [Whether we are building with dynamic execution module])
AM_CONDITIONAL(GENERATE_NEEDED, test x$execution = x1)
AM_CONDITIONAL(GENERATE_NEEDED, test x$execution = x1)
AM_CONDITIONAL(DYNAMIC_EXECUTION, test x$execution = x2)
AM_CONDITIONAL(DYNAMIC_EXECUTION, test x$execution = x2)

powered by: WebSVN 2.1.0

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