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-04-28], [openrisc@opencores.org])
|
AC_INIT([or1ksim], [2010-05-02], [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 93 2010-04-28 17:24:34Z jeremybennett $ using automake version] AC_ACVERSION)
|
AC_REVISION([$Id: configure.ac 96 2010-05-04 07:45:17Z 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 145... |
Line 145... |
[AC_DEFINE(HAVE_ISBLANK, 1, \
|
[AC_DEFINE(HAVE_ISBLANK, 1, \
|
"Whether the isblank function is available") \
|
"Whether the isblank function is available") \
|
AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)])
|
AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)])
|
|
|
# Checks for typedefs, structures, and compiler characteristics (for argtable2)
|
# Checks for typedefs, structures, and compiler characteristics (for argtable2)
|
AC_C_CONST
|
|
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
AC_STRUCT_TM
|
AC_STRUCT_TM
|
|
|
# Checks for library functions (for argtable2).
|
# Checks for library functions (for argtable2).
|
AC_FUNC_MALLOC
|
AC_FUNC_MALLOC
|
Line 317... |
Line 316... |
|
|
# Check for a DejaGNU global config file. If not set, then set it
|
# Check for a DejaGNU global config file. If not set, then set it
|
# ourselves. This stops runtest complaining
|
# ourselves. This stops runtest complaining
|
if test x"$DEJAGNU" = x
|
if test x"$DEJAGNU" = x
|
then
|
then
|
DEJAGNU="\$(top_srcdir)/testsuite/default-global-conf.exp"
|
DEJAGNU="\$(top_srcdir)/testsuite/global-conf.exp"
|
AC_SUBST(DEJAGNU)
|
|
fi
|
fi
|
|
|
|
AC_SUBST(DEJAGNU)
|
|
|
|
# The following line will override the default definition of the srcdir, and
|
|
# ensure that short names are used for the test names.
|
|
RUNTESTDEFAULTFLAGS="--tool \$\$tool"
|
|
AC_SUBST(RUNTESTDEFAULTFLAGS)
|
|
|
BUILD_DIR=`pwd`
|
BUILD_DIR=`pwd`
|
AC_SUBST(BUILD_DIR)
|
AC_SUBST(BUILD_DIR)
|
|
|
AC_SUBST(CFLAGS)
|
AC_SUBST(CFLAGS)
|
AC_SUBST(LOCAL_CFLAGS)
|
AC_SUBST(LOCAL_CFLAGS)
|