source: rtems/c/src/exec/configure.ac @ 7660ccd8

4.104.114.84.95
Last change on this file since 7660ccd8 was 7660ccd8, checked in by Joel Sherrill <joel.sherrill@…>, on 10/17/01 at 13:12:45

2001-10-16 Ralf Corsepius <corsepiu@…>

  • configure.ac: Use RTEMS_CPU_SUBDIRS to make autoconf-2.52 happy.
  • Property mode set to 100644
File size: 2.1 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.52)
6AC_INIT
7AC_CONFIG_SRCDIR([score])
8RTEMS_TOP(../../..)
9AC_CONFIG_AUX_DIR(../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12
13AM_INIT_AUTOMAKE(rtems-c-src-exec,$RTEMS_VERSION,no)
14AM_MAINTAINER_MODE
15
16RTEMS_ENABLE_MULTILIB
17RTEMS_ENABLE_MULTIPROCESSING
18RTEMS_ENABLE_POSIX
19RTEMS_ENABLE_ITRON
20RTEMS_ENABLE_INLINES
21RTEMS_ENABLE_GCC28
22RTEMS_ENABLE_RTEMS_DEBUG
23
24RTEMS_ENV_RTEMSCPU
25RTEMS_CHECK_RTEMS_DEBUG
26
27RTEMS_CHECK_CPU
28RTEMS_CANONICAL_HOST
29
30RTEMS_PROJECT_ROOT
31
32RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
33RTEMS_CANONICALIZE_TOOLS
34
35RTEMS_CHECK_NEWLIB
36
37RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
38RTEMS_CHECK_POSIX_API(RTEMS_BSP)
39RTEMS_CHECK_ITRON_API(RTEMS_BSP)
40
41# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
42if test "$RTEMS_USE_MACROS" = "yes"; then
43  INLINEdir="macros"
44else
45  INLINEdir="inline"
46fi
47AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
48AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
49AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
50
51AC_SUBST(RTEMS_VERSION)
52
53AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
54AM_CONDITIONAL(HAS_ITRON,test "$HAS_ITRON_API" = "yes")
55
56if test "$HAS_POSIX_API" = "yes"; then
57  AC_CONFIG_SUBDIRS(posix)
58fi
59if test "$HAS_ITRON_API" = "yes"; then
60  AC_CONFIG_SUBDIRS(itron)
61fi
62RTEMS_CPU_SUBDIRS([score/cpu])
63
64RTEMS_DEFINE_POSIX_API
65RTEMS_DEFINE_ITRON_API
66RTEMS_DEFINE_MULTIPROCESSING
67
68# HACK: We should use a feature-based configuration.
69if test x"${RTEMS_CPU}" = x"unix"; then
70AC_DEFINE_UNQUOTED(RTEMS_UNIX,1,[to indicate RTEMS unix])
71fi
72
73AM_CONFIG_HEADER(score/include/rtems/score/cpuopts-tmp.h)
74
75# Explicitly list all Makefiles here
76AC_CONFIG_FILES([Makefile
77rtems/Makefile
78rtems/src/Makefile
79rtems/include/Makefile
80rtems/optman/Makefile
81rtems/inline/Makefile
82rtems/macros/Makefile
83sapi/Makefile
84sapi/src/Makefile
85sapi/include/Makefile
86sapi/include/rtems/sptables.h
87sapi/inline/Makefile
88sapi/macros/Makefile
89sapi/optman/Makefile
90score/Makefile
91score/cpu/Makefile
92score/include/Makefile
93score/inline/Makefile
94score/macros/Makefile
95score/src/Makefile
96wrapup/Makefile
97wrapup/rtems/Makefile
98wrapup/itron/Makefile
99wrapup/posix/Makefile
100])
101AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.