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

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0/] [or1ksim/] [configure.in] - Diff between revs 1507 and 1562

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

Rev 1507 Rev 1562
Line 188... Line 188...
AC_DEFINE_UNQUOTED(DYNAMIC_EXECUTION, $execution == 2)
AC_DEFINE_UNQUOTED(DYNAMIC_EXECUTION, $execution == 2)
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)
 
 
 
 
AC_MSG_CHECKING(for implementation-specific data)
 
AC_ARG_ENABLE(impl,
 
    [  --enable-impl=     use -specific environment
 
                          (one of: bender, mp3, default)], [
 
    case "$enableval" in
 
        no|default)        IMPL="DEFAULT" ;;
 
        mp3)               IMPL="MP3"     ;;
 
        bender)            IMPL="BENDER"  ;;
 
        *)
 
            AC_MSG_RESULT(failed)
 
            AC_MSG_ERROR([bad --enable-impl option])
 
            ;;
 
    esac
 
])
 
AC_MSG_RESULT(${IMPL=DEFAULT})
 
if test "$IMPL" = "DEFAULT"
 
then
 
    AC_MSG_WARN([using default environment])
 
fi
 
 
 
test -n "$profile"  && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
test -n "$profile"  && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
IMPL="-DIMPL_$IMPL"
 
# CFLAGS="$CFLAGS -O4"
# CFLAGS="$CFLAGS -O4"
 
 
BUILD_DIR=`pwd`
BUILD_DIR=`pwd`
AC_SUBST(BUILD_DIR)
AC_SUBST(BUILD_DIR)
 
 

powered by: WebSVN 2.1.0

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