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

Subversion Repositories openrisc

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

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

Rev 123 Rev 124
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 123 2010-06-15 14:41:31Z jeremybennett $ using automake version] AC_ACVERSION)
AC_REVISION([$Id: configure.ac 124 2010-06-15 18:41:00Z 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 232... Line 232...
      INCLUDES="-I\${top_srcdir}/cpu/$CPU_ARCH"
      INCLUDES="-I\${top_srcdir}/cpu/$CPU_ARCH"
      execution="2"
      execution="2"
      AC_MSG_RESULT(dynamic)
      AC_MSG_RESULT(dynamic)
      ;;
      ;;
    *)
    *)
      AC_MSG_ERROR("excecution must one of simple/complex/dynamic")
      AC_MSG_ERROR("execution must one of simple/complex/dynamic")
      ;;
      ;;
    esac
    esac
    ],
    ],
    [
    [
      AC_MSG_RESULT(complex)
      AC_MSG_RESULT(complex)
Line 263... Line 263...
        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_arith_flag="0"
 
AC_MSG_CHECKING(whether arithmethic instructions set flag)
 
AC_ARG_ENABLE(arith_flag,
 
    [  --enable-arith-flag      Whether arithmethic instructions setflag.], [
 
    case "$enableval" in
 
  no)  set_arith_flag="0" ;;
 
        yes) set_arith_flag="1" ;;
 
    esac
 
])
 
AC_MSG_RESULT(${enable_arith_flag-no})
 
 
 
# check for --enable-debug argument (for argtable2)
# check for --enable-debug argument (for argtable2)
AC_ARG_ENABLE(
AC_ARG_ENABLE(
    [debug],
    [debug],
    AC_HELP_STRING([--enable-debug],[enable library debugging symbols]),
    AC_HELP_STRING([--enable-debug],[enable library debugging symbols]),
    [
    [
Line 290... Line 279...
    [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(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])
AM_CONDITIONAL(GENERATE_NEEDED, test x$execution = x1)
AM_CONDITIONAL(GENERATE_NEEDED, test x$execution = x1)

powered by: WebSVN 2.1.0

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