source: rtems/configure.ac @ 978f59a

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

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

  • automake/compile.am: Remove GCC272 support. Remove *.sh rule (unused).
  • configure.ac: Remove ENABLE_GCC28. Remove ENABLE_LIBCDIR.
  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[66387986]1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
[6f9c75c3]4
[e712997]5AC_PREREQ(2.52)
[579f14cc]6AC_INIT([rtems],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
[e712997]7AC_CONFIG_SRCDIR([c])
[ba748523]8RTEMS_TOP([.])
[254b4450]9
[df49c60]10# Abort if trying to build inside of the source tree.
[76d527ec]11if test -f aclocal/version.m4; then
[df49c60]12  rm -f config.cache config.log confdefs.h
13  AC_MSG_ERROR([***]
14    [Attempt to build inside of the source tree]
15    [Please use a separate build directory, instead] )
16fi
17
[e712997]18AC_CANONICAL_TARGET([])
[579f14cc]19AM_INIT_AUTOMAKE([no-define foreign 1.6])
[6693a68]20AM_MAINTAINER_MODE
[04c308c]21
[66387986]22## These option are only in here to let --help report all supported
23## options.
[04c308c]24RTEMS_ENABLE_MULTIPROCESSING
25RTEMS_ENABLE_POSIX
[c73b8ac2]26RTEMS_ENABLE_ITRON
[04c308c]27RTEMS_ENABLE_NETWORKING
28RTEMS_ENABLE_RDBG
29RTEMS_ENABLE_INLINES
30RTEMS_ENABLE_CXX
[3174a7ed]31RTEMS_ENABLE_TESTS 
[39607984]32RTEMS_ENABLE_RTEMS_DEBUG
[48ad47cc]33RTEMS_ENABLE_RTEMSBSP(dummy)
[ba748523]34RTEMS_ENABLE_MULTILIB
[48ad47cc]35
[003d4da]36AC_ARG_ENABLE([docs],
37  [AC_HELP_STRING([--enable-docs],[enable building documentation
38    (default:disabled)])])
39
[48ad47cc]40if test $host != $build; then
41AC_MSG_WARN([]
42[*** *** *** WARNING *** *** ***]
43[]
44[Entering BEYOND BLEEDING EDGE TERRITORY]
45[]
46[You are trying to build RTEMS Canadian cross]
47[If you really mean it, feel free to continue ...]
48[*** *** *** *** *** *** *** ***])
49fi
50
51## NOTES:
52## The tools/*-directories situation is unclear
53## * tools/build are host-native tools to be installed on the host.
54## * tools/cpu are host-native or host-cross-target-tools
55## * tools/update are build-host-native tools
[872cc62]56
[3174a7ed]57# these tools are built for the build environment
58#
[ba748523]59RTEMS_BUILD_CONFIG_SUBDIRS([tools/update])
[3174a7ed]60
[ba748523]61RTEMS_HOST_CONFIG_SUBDIRS([tools/build])
62RTEMS_HOST_CONFIG_SUBDIRS([tools/cpu])
[3174a7ed]63
[003d4da]64AS_IF([test x"${enable_docs}" = x"yes"],
65  [RTEMS_HOST_CONFIG_SUBDIRS([doc])])
66
[ba748523]67RTEMS_TARGET_CONFIG_SUBDIRS([c/make])
68if test x"$enable_multilib" = x"yes"; then
69RTEMS_TARGET_CONFIG_SUBDIRS([c/src/exec])
70# FIXME: Not yet
71# RTEMS_TARGET_CONFIG_SUBDIRS([c/src/lib])
[04c308c]72fi
[ba748523]73RTEMS_TARGET_CONFIG_SUBDIRS([c])
[254b4450]74
[e712997]75AC_CONFIG_FILES([Makefile
[6693a68]76tools/Makefile
77make/Makefile
78make/custom/Makefile
79make/Templates/Makefile
[3174a7ed]80make/compilers/Makefile
[003d4da]81])
[6693a68]82
[ba748523]83AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.