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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [itron/] [configure.in] - Blame information for rev 300

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

Line No. Rev Author Line
1 30 unneback
dnl Process this file with autoconf to produce a configure script.
2
dnl
3
dnl $Id: configure.in,v 1.2 2001-09-27 11:59:12 chris Exp $
4
 
5
AC_PREREQ(2.13)
6
AC_INIT(include/itronsys)
7
RTEMS_TOP(../../../..)
8
AC_CONFIG_AUX_DIR(../../../..)
9
 
10
RTEMS_CANONICAL_TARGET_CPU
11
 
12
AM_INIT_AUTOMAKE(rtems-c-src-exec-itron,$RTEMS_VERSION,no)
13
AM_MAINTAINER_MODE
14
 
15
RTEMS_ENABLE_MULTIPROCESSING
16
RTEMS_ENABLE_ITRON
17
RTEMS_ENABLE_INLINES
18
 
19
RTEMS_ENV_RTEMSBSP
20
 
21
RTEMS_CHECK_CPU
22
RTEMS_CANONICAL_HOST
23
 
24
RTEMS_PROJECT_ROOT
25
 
26
RTEMS_PROG_CC_FOR_TARGET
27
RTEMS_CANONICALIZE_TOOLS
28
 
29
# Check if there is custom/*.cfg for this BSP
30
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
31
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
32
RTEMS_CHECK_ITRON_API(RTEMS_BSP)
33
 
34
# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
35
if test "$RTEMS_USE_MACROS" = "yes"; then
36
  INLINEdir="macros"
37
  if test "$HAS_ITRON_API" = "yes"; then
38
    # The problem is that there is currently no code in itron/macros :)
39
    AC_MSG_ERROR(Macros are not implemented for the ITRON API)
40
  fi
41
else
42
  INLINEdir="inline"
43
fi
44
AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
45
AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
46
 
47
## Needed when using automake for libs/rels
48
RTEMS_CHECK_NEWLIB
49
 
50
# If RTEMS macros are enabled, then use them.  Otherwise, refuse to build
51
if test "$RTEMS_USE_MACROS" = "yes"; then
52
# The problem is that there is currently no code in itron/macros :)
53
AC_MSG_ERROR(Macros are not implemented for the ITRON API)
54
fi
55
 
56
##
57
## FIXME: We configure and build the macros subdirectory, too.
58
## Should probably use AM_CONDITIONALs to disable them in future
59
# Explicitly list all Makefiles here
60
AC_OUTPUT(
61
Makefile
62
src/Makefile
63
include/Makefile
64
include/itronsys/Makefile
65
include/rtems/Makefile
66
include/rtems/itron/Makefile
67
inline/Makefile
68
inline/rtems/Makefile
69
inline/rtems/itron/Makefile
70
)
71
 

powered by: WebSVN 2.1.0

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