source: rtems/c/src/exec/configure.in @ 4090ebe

4.104.114.84.95
Last change on this file since 4090ebe was 4090ebe, checked in by Joel Sherrill <joel.sherrill@…>, on 12/03/99 at 13:25:00

Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius
<corsepiu@…>:

The patch below provides

  • automake support for score/cpu/powerpc
  • The hack to propagate values from *.cfg to automake configuration
  • A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted before)
  • Fixes some files which apparently where missing in rtems-rc-19991123-rc-2.diff
  • some minor configuration related patches

To apply:

rm -rf ./c/src/exec/score/cpu/powerpc/wrap
patch -p1 < rtems-rc-19991123-rc-3.diff

Attention:

c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
removed after applying the patch.

Modifications had been made to the score/cpu/powerpc directory after
the snapshot this was based on. In particular, the mpc750 and
other_cpu directories had been renamed to new_exception_processing
and old_exception_processing. After this patch was applied, modifications
were made to account for this.

  • Property mode set to 100644
File size: 2.8 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
14RTEMS_ENABLE_MULTIPROCESSING
15RTEMS_ENABLE_POSIX
16RTEMS_ENABLE_ITRON
17RTEMS_ENABLE_INLINES
18RTEMS_ENABLE_GCC28
19RTEMS_ENABLE_LIBCDIR
20
21RTEMS_ENV_RTEMSBSP
22
23RTEMS_CHECK_CPU
24RTEMS_CANONICAL_HOST
25
26RTEMS_PROJECT_ROOT
27
28dnl check target cc
29RTEMS_PROG_CC_FOR_TARGET
30RTEMS_CANONICALIZE_TOOLS
31
32RTEMS_CHECK_NEWLIB
33
34# Check if there is custom/*.cfg for this BSP
35RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
36RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
37RTEMS_CHECK_POSIX_API(RTEMS_BSP)
38RTEMS_CHECK_ITRON_API(RTEMS_BSP)
39
40# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
41if test "$RTEMS_USE_MACROS" = "yes"; then
42  INLINEdir="macros"
43  if test "$HAS_POSIX_API" = "yes"; then
44    # The problem is that there is currently no code in posix/macros :)
45    AC_MSG_ERROR(Macros are not implemented for the POSIX API)
46  fi
47  if test "$HAS_ITRON_API" = "yes"; then
48    # The problem is that there is currently no code in itron/macros :)
49    AC_MSG_ERROR(Macros are not implemented for the ITRON API)
50  fi
51else
52  INLINEdir="inline"
53fi
54AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
55AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
56AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
57
58AC_SUBST(RTEMS_VERSION)
59
60AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
61AM_CONDITIONAL(HAS_ITRON,test "$HAS_ITRON_API" = "yes")
62
63if test "$HAS_POSIX_API" = "yes"; then
64  cfg_subdirs="posix"
65fi
66if test "$HAS_ITRON_API" = "yes"; then
67  cfg_subdirs="$cfg_subdirs itron"
68fi
69AC_CONFIG_SUBDIRS($cfg_subdirs)
70AC_CONFIG_SUBDIRS(score/cpu/$RTEMS_CPU)
71
72PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
73AC_SUBST(PROJECT_INCLUDE)
74
75# Try to explicitly list a Makefile here
76AC_OUTPUT(
77Makefile
78rtems/Makefile
79rtems/src/Makefile
80rtems/include/Makefile
81rtems/include/rtems/Makefile
82rtems/include/rtems/rtems/Makefile
83rtems/optman/Makefile
84rtems/inline/Makefile
85rtems/inline/rtems/Makefile
86rtems/inline/rtems/rtems/Makefile
87rtems/macros/Makefile
88rtems/macros/rtems/Makefile
89rtems/macros/rtems/rtems/Makefile
90sapi/Makefile
91sapi/src/Makefile
92sapi/include/Makefile
93sapi/include/rtems/Makefile
94sapi/include/rtems/sptables.h
95sapi/inline/Makefile
96sapi/inline/rtems/Makefile
97sapi/macros/Makefile
98sapi/macros/rtems/Makefile
99sapi/optman/Makefile
100score/Makefile
101score/cpu/Makefile
102score/include/Makefile
103score/include/rtems/Makefile
104score/include/rtems/score/Makefile
105score/inline/Makefile
106score/inline/rtems/Makefile
107score/inline/rtems/score/Makefile
108score/macros/Makefile
109score/macros/rtems/Makefile
110score/macros/rtems/score/Makefile
111score/src/Makefile
112wrapup/Makefile
113wrapup/rtems/Makefile
114wrapup/itron/Makefile
115wrapup/posix/Makefile
116)
Note: See TracBrowser for help on using the repository browser.