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 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: 2.7 KB
RevLine 
[eb299afc]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
[e1d8abb]12AM_INIT_AUTOMAKE(rtems-c-src-exec,$RTEMS_VERSION,no)
[eb299afc]13AM_MAINTAINER_MODE
14RTEMS_ENABLE_MULTIPROCESSING
15RTEMS_ENABLE_POSIX
[352c9b2]16RTEMS_ENABLE_ITRON
[eb299afc]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)
[1896a650]36RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
[3a8915e]37RTEMS_CHECK_POSIX_API(RTEMS_BSP)
[352c9b2]38RTEMS_CHECK_ITRON_API(RTEMS_BSP)
[1896a650]39
[eb299afc]40# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
41if test "$RTEMS_USE_MACROS" = "yes"; then
[e1d8abb]42  INLINEdir="macros"
[3a8915e]43  if test "$HAS_POSIX_API" = "yes"; then
[eb299afc]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
[352c9b2]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
[eb299afc]51else
[e1d8abb]52  INLINEdir="inline"
[1896a650]53fi
[e1d8abb]54AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
55AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
[9608320]56AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
[1896a650]57
[e1d8abb]58AC_SUBST(RTEMS_VERSION)
[1896a650]59
[e1d8abb]60AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
[352c9b2]61AM_CONDITIONAL(HAS_ITRON,test "$HAS_ITRON_API" = "yes")
[eb299afc]62
[e1d8abb]63if test "$HAS_POSIX_API" = "yes"; then
[352c9b2]64  cfg_subdirs="posix"
65fi
66if test "$HAS_ITRON_API" = "yes"; then
67  cfg_subdirs="$cfg_subdirs itron"
[e1d8abb]68fi
69AC_CONFIG_SUBDIRS($cfg_subdirs)
[4090ebe]70AC_CONFIG_SUBDIRS(score/cpu/$RTEMS_CPU)
[eb299afc]71
72# Try to explicitly list a Makefile here
73AC_OUTPUT(
74Makefile
[1896a650]75rtems/Makefile
76rtems/src/Makefile
77rtems/include/Makefile
78rtems/include/rtems/Makefile
79rtems/include/rtems/rtems/Makefile
80rtems/optman/Makefile
[e1d8abb]81rtems/inline/Makefile
82rtems/inline/rtems/Makefile
83rtems/inline/rtems/rtems/Makefile
84rtems/macros/Makefile
85rtems/macros/rtems/Makefile
86rtems/macros/rtems/rtems/Makefile
[1896a650]87sapi/Makefile
88sapi/src/Makefile
89sapi/include/Makefile
90sapi/include/rtems/Makefile
91sapi/include/rtems/sptables.h
[e1d8abb]92sapi/inline/Makefile
93sapi/inline/rtems/Makefile
94sapi/macros/Makefile
95sapi/macros/rtems/Makefile
[1896a650]96sapi/optman/Makefile
[eb299afc]97score/Makefile
98score/cpu/Makefile
99score/include/Makefile
100score/include/rtems/Makefile
101score/include/rtems/score/Makefile
[e1d8abb]102score/inline/Makefile
103score/inline/rtems/Makefile
104score/inline/rtems/score/Makefile
105score/macros/Makefile
106score/macros/rtems/Makefile
107score/macros/rtems/score/Makefile
[eb299afc]108score/src/Makefile
109wrapup/Makefile
110wrapup/rtems/Makefile
[352c9b2]111wrapup/itron/Makefile
[e1d8abb]112wrapup/posix/Makefile
[eb299afc]113)
Note: See TracBrowser for help on using the repository browser.