source: rtems/c/src/exec/itron/configure.in @ 352c9b2

4.104.114.84.95
Last change on this file since 352c9b2 was 352c9b2, checked in by Joel Sherrill <joel.sherrill@…>, on 11/09/99 at 22:07:23

This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(include/itronsys)
7RTEMS_TOP(../../../..)
8AC_CONFIG_AUX_DIR(../../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE(rtems-c-src-exec-itron,$RTEMS_VERSION,no)
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_MULTIPROCESSING
16RTEMS_ENABLE_ITRON
17RTEMS_ENABLE_INLINES
18
19RTEMS_ENV_RTEMSBSP
20
21RTEMS_CHECK_CPU
22RTEMS_CANONICAL_HOST
23
24RTEMS_PROJECT_ROOT
25
26## FIXME: needed for INSTALL_CHANGE in autoconf subdirectories
27RTEMS_PATH_KSH
28
29dnl check target cc
30RTEMS_PROG_CC_FOR_TARGET
31RTEMS_CANONICALIZE_TOOLS
32
33# Check if there is custom/*.cfg for this BSP
34RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
35RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
36RTEMS_CHECK_ITRON_API(RTEMS_BSP)
37
38# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
39if test "$RTEMS_USE_MACROS" = "yes"; then
40  INLINEdir="macros"
41  if test "$HAS_ITRON_API" = "yes"; then
42    # The problem is that there is currently no code in itron/macros :)
43    AC_MSG_ERROR(Macros are not implemented for the ITRON API)
44  fi
45else
46  INLINEdir="inline"
47fi
48AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
49AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
50
51## Needed when using automake for libs/rels
52RTEMS_CHECK_NEWLIB
53
54# If RTEMS macros are enabled, then use them.  Otherwise, refuse to build
55if test "$RTEMS_USE_MACROS" = "yes"; then
56# The problem is that there is currently no code in itron/macros :)
57AC_MSG_ERROR(Macros are not implemented for the ITRON API)
58fi
59
60PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
61AC_SUBST(PROJECT_INCLUDE)
62
63##
64## FIXME: We configure and build the macros subdirectory, too.
65## Should probably use AM_CONDITIONALs to disable them in future
66# Try to explicitly list a Makefile here
67AC_OUTPUT(
68Makefile
69src/Makefile
70include/Makefile
71include/itronsys/Makefile
72include/rtems/Makefile
73include/rtems/itron/Makefile
74inline/Makefile
75inline/rtems/Makefile
76inline/rtems/itron/Makefile
77)
78
Note: See TracBrowser for help on using the repository browser.