source: rtems/cpukit/configure.ac @ dc7fb59b

4.104.114.84.95
Last change on this file since dc7fb59b was cb9b2bfc, checked in by Joel Sherrill <joel.sherrill@…>, on 04/16/02 at 13:53:23

2002-04-14 Ralf Corsepius <corsepiu@…>

  • configure.ac: Remove ENABLE_GCC28.
  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[66387986]1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
[eb299afc]4
[66387986]5AC_PREREQ(2.52)
[1960925d]6AC_INIT([rtems-c-src-exec],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
[66387986]7AC_CONFIG_SRCDIR([score])
[eb299afc]8RTEMS_TOP(../../..)
9AC_CONFIG_AUX_DIR(../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12
[1960925d]13AM_INIT_AUTOMAKE([no-define foreign 1.6])
[eb299afc]14AM_MAINTAINER_MODE
[04e6f7bf]15
16RTEMS_ENABLE_MULTILIB
[eb299afc]17RTEMS_ENABLE_MULTIPROCESSING
18RTEMS_ENABLE_POSIX
[352c9b2]19RTEMS_ENABLE_ITRON
[eb299afc]20RTEMS_ENABLE_INLINES
[39607984]21RTEMS_ENABLE_RTEMS_DEBUG
[eb299afc]22
[04e6f7bf]23RTEMS_ENV_RTEMSCPU
[39607984]24RTEMS_CHECK_RTEMS_DEBUG
[eb299afc]25
26RTEMS_CHECK_CPU
27RTEMS_CANONICAL_HOST
28
29RTEMS_PROJECT_ROOT
30
[53c3a2c6]31RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
[eb299afc]32RTEMS_CANONICALIZE_TOOLS
33
34RTEMS_CHECK_NEWLIB
35
[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.
[8217c40]41AS_IF([test "$RTEMS_USE_MACROS" = "yes"],
42  [INLINEdir="macros"],
43  [INLINEdir="inline"])
44
45AM_CONDITIONAL(INLINE,test x"$INLINEdir" = x"inline" )
46AM_CONDITIONAL(MACROS,test x"$INLINEdir" = x"macros" )
47AM_CONDITIONAL(HAS_MP,test x"$HAS_MP" = x"yes" )
[1896a650]48
[e1d8abb]49AC_SUBST(RTEMS_VERSION)
[1896a650]50
[8217c40]51AM_CONDITIONAL(HAS_POSIX,test x"$HAS_POSIX_API" = x"yes")
52AM_CONDITIONAL(HAS_ITRON,test x"$HAS_ITRON_API" = x"yes")
[eb299afc]53
[8217c40]54AS_IF([test x"$HAS_POSIX_API" = x"yes"],
55  [AC_CONFIG_SUBDIRS([posix])]
56)
57AS_IF([test x"$HAS_ITRON_API" = x"yes"],
58  [AC_CONFIG_SUBDIRS(itron)]
59)
[7660ccd8]60RTEMS_CPU_SUBDIRS([score/cpu])
[eb299afc]61
[b8a30d07]62RTEMS_DEFINE_POSIX_API
63RTEMS_DEFINE_ITRON_API
64RTEMS_DEFINE_MULTIPROCESSING
65
[c0394d4b]66# HACK: We should use a feature-based configuration.
[8217c40]67AS_IF([test x"${RTEMS_CPU}" = x"unix"],[
[64b1f81]68  AC_DEFINE_UNQUOTED([RTEMS_UNIX],[1],[to indicate RTEMS unix])
[8217c40]69# HACK: silently accept --enable-unixlib
[64b1f81]70  test -n "${enable_unixlib}" || enable_unixlib="yes"
[8217c40]71])
72
73AS_IF([test x"${enable_unixlib}" = x"yes"],
[64b1f81]74  [AC_DEFINE_UNQUOTED([RTEMS_UNIXLIB],[1],
[8217c40]75    [to indicate RTEMS using RTEMS's unixlib])]
76)
[c0394d4b]77
[e0ba3e8]78AM_CONFIG_HEADER(score/include/rtems/score/cpuopts-tmp.h)
79
[8217c40]80AC_ENABLE_MULTILIB([Makefile],[..])
81
[64b1f81]82## HACK: Add a define to cpuopts.h to indicate using multilibs
83## Can be applied to produce compiler errors if using
84## multilib-incompatible settings somewhere else (eg. bspopts.h).
85AS_IF([test x"${enable_multilib}" = x"yes"],[
86  AC_DEFINE_UNQUOTED([RTEMS_MULTILIBS],[1],[using multilib'ed RTEMS])
87])
88
[70810dc]89# Explicitly list all Makefiles here
[66387986]90AC_CONFIG_FILES([Makefile
[8217c40]91include/Makefile
[1896a650]92rtems/Makefile
93rtems/src/Makefile
94rtems/include/Makefile
[e1d8abb]95rtems/inline/Makefile
96rtems/macros/Makefile
[1896a650]97sapi/Makefile
98sapi/src/Makefile
99sapi/include/Makefile
100sapi/include/rtems/sptables.h
[e1d8abb]101sapi/inline/Makefile
102sapi/macros/Makefile
[eb299afc]103score/Makefile
104score/cpu/Makefile
105score/include/Makefile
[e1d8abb]106score/inline/Makefile
107score/macros/Makefile
[eb299afc]108score/src/Makefile
[029527b6]109wrapup/Makefile
[66387986]110])
111AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.