source: rtems/c/src/exec/configure.in @ 256cbec

4.104.114.84.95
Last change on this file since 256cbec was 256cbec, checked in by Joel Sherrill <joel.sherrill@…>, on 07/10/00 at 19:12:07

Patch rtems-rc-20000708-1.diff from Ralf Corsepius <corsepiu@…>
that is another small step toward multilibs:

Changes:

  • Eliminate RTEMS_CHECK_CUSTOM_BSP from all configure.ins below exec/
  • Add RTEMS_CHECK_CUSTOM_BSP to the multilib-disabled branch in RTEMS_ENV_RTEMSCPU to preserve the old per-BSP building scheme functional.

Notes:

  • --enable-multilibs is still non-functional
  • This patch should not have any influence on the old building scheme (--disable-multilib should silently fall back to the old building scheme).
  • running ./bootstrap is required after applying the patch
  • Property mode set to 100644
File size: 2.6 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl  $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(score)
7RTEMS_TOP(../../..)
8AC_CONFIG_AUX_DIR(../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE(rtems-c-src-exec,$RTEMS_VERSION,no)
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_MULTILIB
16RTEMS_ENABLE_MULTIPROCESSING
17RTEMS_ENABLE_POSIX
18RTEMS_ENABLE_ITRON
19RTEMS_ENABLE_INLINES
20RTEMS_ENABLE_GCC28
21
22RTEMS_ENV_RTEMSCPU
23
24RTEMS_CHECK_CPU
25RTEMS_CANONICAL_HOST
26
27RTEMS_PROJECT_ROOT
28
29RTEMS_PROG_CC_FOR_TARGET
30RTEMS_CANONICALIZE_TOOLS
31
32RTEMS_CHECK_NEWLIB
33
34RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
35RTEMS_CHECK_POSIX_API(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_POSIX_API" = "yes"; then
42    # The problem is that there is currently no code in posix/macros :)
43    AC_MSG_ERROR(Macros are not implemented for the POSIX API)
44  fi
45  if test "$HAS_ITRON_API" = "yes"; then
46    # The problem is that there is currently no code in itron/macros :)
47    AC_MSG_ERROR(Macros are not implemented for the ITRON API)
48  fi
49else
50  INLINEdir="inline"
51fi
52AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
53AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
54AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
55
56AC_SUBST(RTEMS_VERSION)
57
58AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
59AM_CONDITIONAL(HAS_ITRON,test "$HAS_ITRON_API" = "yes")
60
61if test "$HAS_POSIX_API" = "yes"; then
62  cfg_subdirs="posix"
63fi
64if test "$HAS_ITRON_API" = "yes"; then
65  cfg_subdirs="$cfg_subdirs itron"
66fi
67AC_CONFIG_SUBDIRS($cfg_subdirs)
68AC_CONFIG_SUBDIRS(score/cpu/$RTEMS_CPU)
69
70# Explicitly list all Makefiles here
71AC_OUTPUT(
72Makefile
73rtems/Makefile
74rtems/src/Makefile
75rtems/include/Makefile
76rtems/include/rtems/Makefile
77rtems/include/rtems/rtems/Makefile
78rtems/optman/Makefile
79rtems/inline/Makefile
80rtems/inline/rtems/Makefile
81rtems/inline/rtems/rtems/Makefile
82rtems/macros/Makefile
83rtems/macros/rtems/Makefile
84rtems/macros/rtems/rtems/Makefile
85sapi/Makefile
86sapi/src/Makefile
87sapi/include/Makefile
88sapi/include/rtems/Makefile
89sapi/include/rtems/sptables.h
90sapi/inline/Makefile
91sapi/inline/rtems/Makefile
92sapi/macros/Makefile
93sapi/macros/rtems/Makefile
94sapi/optman/Makefile
95score/Makefile
96score/cpu/Makefile
97score/include/Makefile
98score/include/rtems/Makefile
99score/include/rtems/score/Makefile
100score/inline/Makefile
101score/inline/rtems/Makefile
102score/inline/rtems/score/Makefile
103score/macros/Makefile
104score/macros/rtems/Makefile
105score/macros/rtems/score/Makefile
106score/src/Makefile
107wrapup/Makefile
108wrapup/rtems/Makefile
109wrapup/itron/Makefile
110wrapup/posix/Makefile
111)
Note: See TracBrowser for help on using the repository browser.