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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [or1ksim/] [configure.ac] - Diff between revs 107 and 112

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

Rev 107 Rev 112
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-06], [openrisc@opencores.org])
AC_INIT([or1ksim], [2010-06-09], [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 107 2010-06-06 17:42:32Z jeremybennett $ using automake version] AC_ACVERSION)
AC_REVISION([$Id: configure.ac 112 2010-06-09 18:24:44Z 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 262... Line 262...
        yes) raw_range_stats="1" simple_execution="1" ;;
        yes) raw_range_stats="1" simple_execution="1" ;;
    esac
    esac
])
])
AC_MSG_RESULT(${enable_range_stats-no})
AC_MSG_RESULT(${enable_range_stats-no})
 
 
set_ov_flag="0"
 
AC_MSG_CHECKING(whether instructions set overflow flag)
 
AC_ARG_ENABLE(ov_flag,
 
    [  --enable-ov-flag      Whether instructions set overflow flag.], [
 
    case "$enableval" in
 
    no)  set_ov_flag="0" ;;
 
    yes) set_ov_flag="1" ;;
 
    esac
 
])
 
AC_MSG_RESULT(${enable_ov_flag-no})
 
 
 
set_arith_flag="0"
set_arith_flag="0"
AC_MSG_CHECKING(whether arithmethic instructions set flag)
AC_MSG_CHECKING(whether arithmethic instructions set flag)
AC_ARG_ENABLE(arith_flag,
AC_ARG_ENABLE(arith_flag,
    [  --enable-arith-flag      Whether arithmethic instructions setflag.], [
    [  --enable-arith-flag      Whether arithmethic instructions setflag.], [
    case "$enableval" in
    case "$enableval" in
Line 300... Line 289...
    [DEBUGFLAGS="-DNDEBUG"]
    [DEBUGFLAGS="-DNDEBUG"]
    )
    )
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(SET_OV_FLAG, $set_ov_flag, [ Whether instructions set overflow flag])
 
AC_DEFINE_UNQUOTED(ARITH_SET_FLAG, $set_arith_flag, [Whether arithmethic instructions set flag on zero])
AC_DEFINE_UNQUOTED(ARITH_SET_FLAG, $set_arith_flag, [Whether arithmethic instructions set flag on zero])
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(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])

powered by: WebSVN 2.1.0

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