source: rtems/configure.ac @ 02550220

4.115
Last change on this file since 02550220 was 12072880, checked in by Sebastian Huber <sebastian.huber@…>, on 12/04/14 at 09:03:50

Update bug report URL

  • Property mode set to 100644
File size: 1.6 KB
Line 
1## Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
5AC_CONFIG_SRCDIR([c])
6RTEMS_TOP([.])
7
8# Abort if trying to build inside of the source tree.
9AS_IF([test -f aclocal/version.m4],[
10  rm -f config.cache config.log confdefs.h
11  AC_MSG_ERROR([***]
12    [Attempt to build inside of the source tree]
13    [Please use a separate build directory, instead] )
14])
15
16AC_CANONICAL_TARGET([])
17AM_INIT_AUTOMAKE([no-define foreign dist-bzip2 no-dist-gzip 1.12.2])
18AM_MAINTAINER_MODE
19
20## These option are only in here to let --help report all supported
21## options.
22RTEMS_ENABLE_MULTIPROCESSING
23RTEMS_ENABLE_POSIX
24RTEMS_ENABLE_NETWORKING
25RTEMS_ENABLE_CXX
26RTEMS_ENABLE_TESTS 
27RTEMS_ENABLE_RTEMS_DEBUG
28RTEMS_ENABLE_RTEMSBSP
29RTEMS_ENABLE_MULTILIB
30RTEMS_ENABLE_PARAVIRT
31
32AC_ARG_ENABLE([docs],
33  [AS_HELP_STRING([--enable-docs],[enable building documentation
34    (default:disabled)])])
35
36## NOTES:
37## * tools/build are host-native tools to be installed on the host.
38## * tools/cpu are host-native or host-cross-target-tools
39
40RTEMS_BUILD_CONFIG_SUBDIRS([tools/build])
41RTEMS_BUILD_CONFIG_SUBDIRS([tools/cpu])
42
43case $enable_tests in
44yes | samples )
45  RTEMS_BUILD_CONFIG_SUBDIRS([testsuites/tools])
46  ;;
47esac
48
49# Some BSPs carelessly apply these tools as build-tools
50AS_IF([test $host != $build],[
51RTEMS_HOST_CONFIG_SUBDIRS([tools/build])
52])
53
54AS_IF([test x"${enable_docs}" = x"yes"],
55  [RTEMS_BUILD_CONFIG_SUBDIRS([doc])])
56
57AS_IF([test x"$enable_multilib" = x"yes"],[
58  RTEMS_TARGET_CONFIG_SUBDIRS([cpukit])
59])
60RTEMS_TARGET_CONFIG_SUBDIRS([c])
61
62AC_CONFIG_FILES([Makefile])
63
64AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.