source: rtems/c/src/exec/configure.in @ 4c46630

4.104.114.84.95
Last change on this file since 4c46630 was 4c46630, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 31, 2000 at 3:15:10 PM

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: 2.7 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
72# Try to explicitly list a Makefile here
73AC_OUTPUT(
74Makefile
75rtems/Makefile
76rtems/src/Makefile
77rtems/include/Makefile
78rtems/include/rtems/Makefile
79rtems/include/rtems/rtems/Makefile
80rtems/optman/Makefile
81rtems/inline/Makefile
82rtems/inline/rtems/Makefile
83rtems/inline/rtems/rtems/Makefile
84rtems/macros/Makefile
85rtems/macros/rtems/Makefile
86rtems/macros/rtems/rtems/Makefile
87sapi/Makefile
88sapi/src/Makefile
89sapi/include/Makefile
90sapi/include/rtems/Makefile
91sapi/include/rtems/sptables.h
92sapi/inline/Makefile
93sapi/inline/rtems/Makefile
94sapi/macros/Makefile
95sapi/macros/rtems/Makefile
96sapi/optman/Makefile
97score/Makefile
98score/cpu/Makefile
99score/include/Makefile
100score/include/rtems/Makefile
101score/include/rtems/score/Makefile
102score/inline/Makefile
103score/inline/rtems/Makefile
104score/inline/rtems/score/Makefile
105score/macros/Makefile
106score/macros/rtems/Makefile
107score/macros/rtems/score/Makefile
108score/src/Makefile
109wrapup/Makefile
110wrapup/rtems/Makefile
111wrapup/itron/Makefile
112wrapup/posix/Makefile
113)
Note: See TracBrowser for help on using the repository browser.