OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [or32/] [configure.ac] - Blame information for rev 278

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

Line No. Rev Author Line
1 147 jeremybenn
dnl Process this file with autoconf to produce a configure script.
2
AC_PREREQ(2.59)dnl
3
AC_INIT(Makefile.in)
4
AC_CONFIG_HEADER(config.h:config.in)
5
 
6
sinclude(../common/aclocal.m4)
7
 
8
# Invoke the autoconf macros most often used by the simulators
9
# README_HACKING says to use SIM_AC_COMMON, but that breaks in autoconf 2.59
10
sinclude(../common/common.m4)
11
 
12
# Option to explicitly specify the location of the Or1ksim installation
13
AC_ARG_WITH([or1ksim],
14
            [AS_HELP_STRING([--with-or1ksim=ARG],
15
              [specify the Or1ksim installation directory explicitly (otherwise use default search paths)])],
16
            [],
17
            [])
18
if test x"$with_or1ksim" != x
19
then
20
  SIM_CPPFLAGS="$SIM_CPPFLAGS -I$with_or1ksim/include"
21
  SIM_LDFLAGS="$SIM_LDFLAGS -Wl,-rpath -Wl,$with_or1ksim/lib -L$with_or1ksim/lib"
22
fi
23
 
24
# No target specific stuff as yet...
25
AC_CHECK_HEADERS(stdlib.h)
26
 
27
# Set up simulator output
28
AC_SUBST(SIM_CPPFLAGS)
29
AC_SUBST(SIM_LDFLAGS)
30
 
31
SIM_AC_OUTPUT

powered by: WebSVN 2.1.0

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