source: rtems/configure.ac @ 8ee3775

4.11
Last change on this file since 8ee3775 was 8ee3775, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 2, 2011 at 3:01:43 PM

2011-02-02 Ralf Corsépius <ralf.corsepius@…>

  • configure.ac: Require autoconf-2.68, automake-1.11.1.
  • 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.68])
6AC_INIT([rtems],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
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 dist-bzip2 no-dist-gzip 1.11.1])
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_NETWORKING
27RTEMS_ENABLE_CXX
28RTEMS_ENABLE_TESTS 
29RTEMS_ENABLE_RTEMS_DEBUG
30RTEMS_ENABLE_RTEMSBSP
31RTEMS_ENABLE_MULTILIB
32
33AC_ARG_ENABLE([docs],
34  [AS_HELP_STRING([--enable-docs],[enable building documentation
35    (default:disabled)])])
36
37## NOTES:
38## * tools/build are host-native tools to be installed on the host.
39## * tools/cpu are host-native or host-cross-target-tools
40
41RTEMS_BUILD_CONFIG_SUBDIRS([tools/build])
42RTEMS_BUILD_CONFIG_SUBDIRS([tools/cpu])
43
44# FIXME: tools/schedsim has a lot of problems, don't build by default
45AC_ARG_ENABLE([schedsim],
46  [AS_HELP_STRING([--enable-schedsim],[enable building tools/schedsim (default::disabled)])])
47AS_IF([test "$enable_schedsim" = yes],[
48RTEMS_BUILD_CONFIG_SUBDIRS([tools/schedsim])
49])
50
51case $enable_tests in
52yes | samples )
53  RTEMS_BUILD_CONFIG_SUBDIRS([testsuites/tools])
54  ;;
55esac
56
57# Some BSPs carelessly apply these tools as build-tools
58AS_IF([test $host != $build],[
59RTEMS_HOST_CONFIG_SUBDIRS([tools/build])
60])
61
62AS_IF([test x"${enable_docs}" = x"yes"],
63  [RTEMS_BUILD_CONFIG_SUBDIRS([doc])])
64
65AS_IF([test x"$enable_multilib" = x"yes"],[
66  RTEMS_TARGET_CONFIG_SUBDIRS([cpukit])
67])
68RTEMS_TARGET_CONFIG_SUBDIRS([c])
69
70AC_CONFIG_FILES([Makefile
71make/Makefile
72])
73
74AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.