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

4.104.114.84.95
Last change on this file since a976681e was 4c46630, checked in by Joel Sherrill <joel.sherrill@…>, on 01/31/00 at 15:15:10

Patch rtems-rc-20000118-1.diff from Ralf Corsepius <corsepiu@…>
that contains:

  • cleanups to configuration files
  • A reworked gccnewlib.spec.in: I have reformated it for enhanced readability and added more rtems-base packages. It now should be free of any installation conflicts (If there still remain some, they should be regarded as bugs).
  • A fix to the bin2boot RTEMS_BSP issue (make RTEMS_BSP="pc386 pc486" now works).
  • removes libbsp/bare/wrapup
  • Further cleanups
  • Property mode set to 100644
File size: 1.8 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
60##
61## FIXME: We configure and build the macros subdirectory, too.
62## Should probably use AM_CONDITIONALs to disable them in future
63# Try to explicitly list a Makefile here
64AC_OUTPUT(
65Makefile
66src/Makefile
67include/Makefile
68include/itronsys/Makefile
69include/rtems/Makefile
70include/rtems/itron/Makefile
71inline/Makefile
72inline/rtems/Makefile
73inline/rtems/itron/Makefile
74)
75
Note: See TracBrowser for help on using the repository browser.