source: rtems/configure.ac @ b36cca28

4.104.114.84.95
Last change on this file since b36cca28 was 09efa77, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/12/02 at 04:13:17

2002-12-12 Ralf Corsepius <corsepiu@…>

  • configure.ac: Require autoconf >= 2.57 and automake-1.7.2.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.57)
6AC_INIT([rtems],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
7AC_CONFIG_SRCDIR([c])
8RTEMS_TOP([.])
9
10# Abort if trying to build inside of the source tree.
11AS_IF([test -f aclocal/version.m4],[
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] )
16])
17
18AC_CANONICAL_TARGET([])
19AM_INIT_AUTOMAKE([no-define foreign 1.7.2])
20AM_MAINTAINER_MODE
21
22## These option are only in here to let --help report all supported
23## options.
24RTEMS_ENABLE_MULTIPROCESSING
25RTEMS_ENABLE_POSIX
26RTEMS_ENABLE_ITRON
27RTEMS_ENABLE_NETWORKING
28RTEMS_ENABLE_RDBG
29RTEMS_ENABLE_INLINES
30RTEMS_ENABLE_CXX
31RTEMS_ENABLE_TESTS 
32RTEMS_ENABLE_RTEMS_DEBUG
33RTEMS_ENABLE_RTEMSBSP(dummy)
34RTEMS_ENABLE_MULTILIB
35
36AC_ARG_ENABLE([docs],
37  [AC_HELP_STRING([--enable-docs],[enable building documentation
38    (default:disabled)])])
39
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
56
57# these tools are built for the build environment
58#
59RTEMS_BUILD_CONFIG_SUBDIRS([tools/update])
60
61RTEMS_HOST_CONFIG_SUBDIRS([tools/build])
62RTEMS_HOST_CONFIG_SUBDIRS([tools/cpu])
63
64AS_IF([test x"${enable_docs}" = x"yes"],
65  [RTEMS_HOST_CONFIG_SUBDIRS([doc])])
66
67AS_IF([test x"$enable_multilib" = x"yes"],[
68  RTEMS_TARGET_CONFIG_SUBDIRS([cpukit])
69])
70RTEMS_TARGET_CONFIG_SUBDIRS([c])
71
72AC_CONFIG_FILES([Makefile
73tools/Makefile
74make/Makefile
75make/custom/Makefile
76])
77
78AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.