source: rtems/c/src/exec/configure.in @ df49c60

4.104.114.84.95
Last change on this file since df49c60 was 70810dc, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 8, 2000 at 10:33:25 PM

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: 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
19
20RTEMS_ENV_RTEMSBSP
21
22RTEMS_CHECK_CPU
23RTEMS_CANONICAL_HOST
24
25RTEMS_PROJECT_ROOT
26
27RTEMS_PROG_CC_FOR_TARGET
28RTEMS_CANONICALIZE_TOOLS
29
30RTEMS_CHECK_NEWLIB
31
32# Check if there is custom/*.cfg for this BSP
33RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
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.