source: rtems/c/src/exec/configure.ac @ df25c998

4.104.114.84.95
Last change on this file since df25c998 was 66387986, checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/01 at 19:07:37

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

  • .cvsignore: Add autom4te.cache for autoconf > 2.52.
  • configure.in: Remove.
  • configure.ac: New file, generated from configure.in by autoupdate.
  • Property mode set to 100644
File size: 2.6 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  cfg_subdirs="posix"
58fi
59if test "$HAS_ITRON_API" = "yes"; then
60  cfg_subdirs="$cfg_subdirs itron"
61fi
62AC_CONFIG_SUBDIRS($cfg_subdirs)
63AC_CONFIG_SUBDIRS(score/cpu/$RTEMS_CPU)
64
65RTEMS_DEFINE_POSIX_API
66RTEMS_DEFINE_ITRON_API
67RTEMS_DEFINE_MULTIPROCESSING
68
69# HACK: We should use a feature-based configuration.
70if test x"${RTEMS_CPU}" = x"unix"; then
71AC_DEFINE_UNQUOTED(RTEMS_UNIX,1,[to indicate RTEMS unix])
72fi
73
74AM_CONFIG_HEADER(score/include/rtems/score/cpuopts-tmp.h)
75
76# Explicitly list all Makefiles here
77AC_CONFIG_FILES([Makefile
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])
117AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.