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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [testbench/] [configure.in] - Blame information for rev 224

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 224 markom
dnl or32 test suite - top level
2
dnl
3
dnl Copyright (C) 2001 Marko Mlinar
4
dnl
5
dnl This file is part of OpenRISC 1000 Architectural Simulator.
6
dnl
7
dnl This program is free software; you can redistribute it and/or modify
8
dnl it under the terms of the GNU General Public License as published by
9
dnl the Free Software Foundation; either version 2 of the License, or
10
dnl (at your option) any later version.
11
dnl
12
dnl This program is distributed in the hope that it will be useful,
13
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
14
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
dnl GNU General Public License for more details.
16
dnl
17
dnl You should have received a copy of the GNU General Public License
18
dnl along with this program; if not, write to the Free Software
19
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20
dnl
21
dnl Process this file with autoconf to produce a configure script.
22
 
23
dnl disable cache, since it causes troubles when changing hosts
24
dnl define([AC_CACHE_LOAD], )dnl
25
dnl define([AC_CACHE_SAVE], )dnl
26
 
27
AC_REVISION([for or1ksim-1.2, version 2.14, from autoconf version] AC_ACVERSION)
28
AC_PREREQ(2.10)
29
AC_INIT(support/support.h)
30
AC_CANONICAL_HOST
31
AM_INIT_AUTOMAKE(or1ksimtest, 1.3)
32
 
33
dnl Checks for programs.
34
AC_PROG_MAKE_SET
35
AC_PROG_INSTALL
36
AC_CHECK_TOOL(CC, $host_cpu-$host_os-gcc, cc)
37
AC_CHECK_TOOL(RANLIB, $host_cpu-$host_os-ranlib, ranlib)
38
AC_CHECK_TOOL(LD, $host_cpu-$host_os-ld, ld)
39
AC_ISC_POSIX
40
AC_HEADER_STDC
41
 
42
MAKE_SHELL=/bin/sh
43
AC_SUBST(MAKE_SHELL)
44
 
45
dnl Compiler options.
46
AC_PROG_GCC_TRADITIONAL
47
AC_SUBST(CFLAGS)
48
set -- $CFLAGS
49
COMPILE_OR1K=unknown
50
case $host in
51
        or1k*|or32*)
52
                CFLAGS="$CFLAGS -nostdlib"
53
                COMPILE=or1k
54
                ;;
55
esac
56
AM_CONDITIONAL(OR1K_EXCEPT, test x$COMPILE = xor1k)
57
CFLAGS="$CFLAGS -Wall -mhard-div"
58
 
59
AC_SUBST(INCLUDES)
60
INCLUDES="-I\${top_srcdir}/support"
61
 
62
dnl Checks for typedefs, structures, and compiler characteristics.
63
AC_C_CONST
64
AC_C_INLINE
65
 
66
dnl Create output files.
67
AC_OUTPUT([Makefile support/Makefile uos/Makefile])

powered by: WebSVN 2.1.0

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