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

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_1_0/] [or1ksim/] [configure.in] - Diff between revs 513 and 517

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

Rev 513 Rev 517
Line 82... Line 82...
case "$host_os" in
case "$host_os" in
solaris*) LIBS="-lsocket -lnsl" ;;
solaris*) LIBS="-lsocket -lnsl" ;;
esac
esac
 
 
dnl define options
dnl define options
AC_SUBST(FPM)
 
 
AC_MSG_CHECKING(whether to enable profiling)
 
AC_ARG_ENABLE(profiling,
 
    [  --enable-profiling      generate profiling code], [
 
    case "$enableval" in
 
        yes) profile="-pg -a" ;;
 
    esac
 
])
 
AC_MSG_RESULT(${enable_profiling-no})
 
 
AC_MSG_CHECKING(for implementation-specific data)
AC_MSG_CHECKING(for implementation-specific data)
AC_ARG_ENABLE(impl,
AC_ARG_ENABLE(impl,
    [  --enable-impl=     use -specific environment
    [  --enable-impl=     use -specific environment
                          (one of: bender, mp3, default)], [
                          (one of: bender, mp3, default)], [
Line 103... Line 111...
AC_MSG_RESULT(${IMPL=DEFAULT})
AC_MSG_RESULT(${IMPL=DEFAULT})
if test "$IMPL" = "DEFAULT"
if test "$IMPL" = "DEFAULT"
then
then
    AC_MSG_WARN([using default environment])
    AC_MSG_WARN([using default environment])
fi
fi
 
 
 
test -n "$profile"  && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
IMPL="-DIMPL_$IMPL"
IMPL="-DIMPL_$IMPL"
 
CFLAGS="$CFLAGS -O4"
 
 
BUILD_DIR=`pwd`
BUILD_DIR=`pwd`
AC_SUBST(BUILD_DIR)
AC_SUBST(BUILD_DIR)
 
 
AC_SUBST(CFLAGS)
AC_SUBST(CFLAGS)

powered by: WebSVN 2.1.0

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