source: rtems/cpukit/configure.ac @ 66387986

4.104.114.84.95
Last change on this file since 66387986 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
RevLine 
[66387986]1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
[eb299afc]4
[66387986]5AC_PREREQ(2.52)
6AC_INIT
7AC_CONFIG_SRCDIR([score])
[eb299afc]8RTEMS_TOP(../../..)
9AC_CONFIG_AUX_DIR(../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12
[e1d8abb]13AM_INIT_AUTOMAKE(rtems-c-src-exec,$RTEMS_VERSION,no)
[eb299afc]14AM_MAINTAINER_MODE
[04e6f7bf]15
16RTEMS_ENABLE_MULTILIB
[eb299afc]17RTEMS_ENABLE_MULTIPROCESSING
18RTEMS_ENABLE_POSIX
[352c9b2]19RTEMS_ENABLE_ITRON
[eb299afc]20RTEMS_ENABLE_INLINES
21RTEMS_ENABLE_GCC28
[39607984]22RTEMS_ENABLE_RTEMS_DEBUG
[eb299afc]23
[04e6f7bf]24RTEMS_ENV_RTEMSCPU
[39607984]25RTEMS_CHECK_RTEMS_DEBUG
[eb299afc]26
27RTEMS_CHECK_CPU
28RTEMS_CANONICAL_HOST
29
30RTEMS_PROJECT_ROOT
31
[53c3a2c6]32RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
[eb299afc]33RTEMS_CANONICALIZE_TOOLS
34
35RTEMS_CHECK_NEWLIB
36
[1896a650]37RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
[3a8915e]38RTEMS_CHECK_POSIX_API(RTEMS_BSP)
[352c9b2]39RTEMS_CHECK_ITRON_API(RTEMS_BSP)
[1896a650]40
[eb299afc]41# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
42if test "$RTEMS_USE_MACROS" = "yes"; then
[e1d8abb]43  INLINEdir="macros"
[eb299afc]44else
[e1d8abb]45  INLINEdir="inline"
[1896a650]46fi
[e1d8abb]47AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
48AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
[9608320]49AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
[1896a650]50
[e1d8abb]51AC_SUBST(RTEMS_VERSION)
[1896a650]52
[e1d8abb]53AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
[352c9b2]54AM_CONDITIONAL(HAS_ITRON,test "$HAS_ITRON_API" = "yes")
[eb299afc]55
[e1d8abb]56if test "$HAS_POSIX_API" = "yes"; then
[352c9b2]57  cfg_subdirs="posix"
58fi
59if test "$HAS_ITRON_API" = "yes"; then
60  cfg_subdirs="$cfg_subdirs itron"
[e1d8abb]61fi
62AC_CONFIG_SUBDIRS($cfg_subdirs)
[4090ebe]63AC_CONFIG_SUBDIRS(score/cpu/$RTEMS_CPU)
[eb299afc]64
[b8a30d07]65RTEMS_DEFINE_POSIX_API
66RTEMS_DEFINE_ITRON_API
67RTEMS_DEFINE_MULTIPROCESSING
68
[c0394d4b]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
[e0ba3e8]74AM_CONFIG_HEADER(score/include/rtems/score/cpuopts-tmp.h)
75
[70810dc]76# Explicitly list all Makefiles here
[66387986]77AC_CONFIG_FILES([Makefile
[1896a650]78rtems/Makefile
79rtems/src/Makefile
80rtems/include/Makefile
81rtems/include/rtems/Makefile
82rtems/include/rtems/rtems/Makefile
83rtems/optman/Makefile
[e1d8abb]84rtems/inline/Makefile
85rtems/inline/rtems/Makefile
86rtems/inline/rtems/rtems/Makefile
87rtems/macros/Makefile
88rtems/macros/rtems/Makefile
89rtems/macros/rtems/rtems/Makefile
[1896a650]90sapi/Makefile
91sapi/src/Makefile
92sapi/include/Makefile
93sapi/include/rtems/Makefile
94sapi/include/rtems/sptables.h
[e1d8abb]95sapi/inline/Makefile
96sapi/inline/rtems/Makefile
97sapi/macros/Makefile
98sapi/macros/rtems/Makefile
[1896a650]99sapi/optman/Makefile
[eb299afc]100score/Makefile
101score/cpu/Makefile
102score/include/Makefile
103score/include/rtems/Makefile
104score/include/rtems/score/Makefile
[e1d8abb]105score/inline/Makefile
106score/inline/rtems/Makefile
107score/inline/rtems/score/Makefile
108score/macros/Makefile
109score/macros/rtems/Makefile
110score/macros/rtems/score/Makefile
[eb299afc]111score/src/Makefile
112wrapup/Makefile
113wrapup/rtems/Makefile
[352c9b2]114wrapup/itron/Makefile
[e1d8abb]115wrapup/posix/Makefile
[66387986]116])
117AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.