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

4.104.114.84.95
Last change on this file since 9b05600 was 70810dc, checked in by Joel Sherrill <joel.sherrill@…>, on 02/08/00 at 22:33:25

Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@…>
that contains:

  • Removes remaining (now illegal) references to $(SRC) from a couple of Makefile.ams
  • Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
  • Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR from most configure scripts, i.e. LIBCDIR becomes less visible)
  • Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to libbsp/*/configure.ins (A minor bug in previous implementations, which only has an impact when switching to GNU/Cygnus canonicalization)
  • Cleans up several bogus comments.
  • Removes MKLIB
  • Switches the version number to 4.5.0 (for testing version number handling)
  • Property mode set to 100644
File size: 1.7 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
26RTEMS_PROG_CC_FOR_TARGET
27RTEMS_CANONICALIZE_TOOLS
28
29# Check if there is custom/*.cfg for this BSP
30RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
31RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
32RTEMS_CHECK_ITRON_API(RTEMS_BSP)
33
34# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
35if 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
41else
42  INLINEdir="inline"
43fi
44AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
45AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
46
47## Needed when using automake for libs/rels
48RTEMS_CHECK_NEWLIB
49
50# If RTEMS macros are enabled, then use them.  Otherwise, refuse to build
51if test "$RTEMS_USE_MACROS" = "yes"; then
52# The problem is that there is currently no code in itron/macros :)
53AC_MSG_ERROR(Macros are not implemented for the ITRON API)
54fi
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
60AC_OUTPUT(
61Makefile
62src/Makefile
63include/Makefile
64include/itronsys/Makefile
65include/rtems/Makefile
66include/rtems/itron/Makefile
67inline/Makefile
68inline/rtems/Makefile
69inline/rtems/itron/Makefile
70)
71
Note: See TracBrowser for help on using the repository browser.