source:
rtems/configure.ac
@
48a7fa3
Last change on this file since 48a7fa3 was 48a7fa3, checked in by Joel Sherrill <joel@…>, on 11/15/16 at 16:37:59 | |
---|---|
|
|
File size: 1.4 KB |
Rev | Line | |
---|---|---|
[66387986] | 1 | ## Process this file with autoconf to produce a configure script. |
[6f9c75c3] | 2 | |
[0f77281] | 3 | AC_PREREQ([2.69]) |
[12072880] | 4 | AC_INIT([rtems],[_RTEMS_VERSION],[https://devel.rtems.org/newticket]) |
[e712997] | 5 | AC_CONFIG_SRCDIR([c]) |
[ba748523] | 6 | RTEMS_TOP([.]) |
[254b4450] | 7 | |
[df49c60] | 8 | # Abort if trying to build inside of the source tree. |
[bcf4d5bc] | 9 | AS_IF([test -f aclocal/version.m4],[ |
[df49c60] | 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] ) | |
[bcf4d5bc] | 14 | ]) |
[df49c60] | 15 | |
[e712997] | 16 | AC_CANONICAL_TARGET([]) |
[bb2b825] | 17 | AM_INIT_AUTOMAKE([no-define foreign dist-bzip2 no-dist-gzip 1.12.2]) |
[6693a68] | 18 | AM_MAINTAINER_MODE |
[04c308c] | 19 | |
[66387986] | 20 | ## These option are only in here to let --help report all supported |
21 | ## options. | |
[04c308c] | 22 | RTEMS_ENABLE_MULTIPROCESSING |
23 | RTEMS_ENABLE_POSIX | |
24 | RTEMS_ENABLE_NETWORKING | |
25 | RTEMS_ENABLE_CXX | |
[3174a7ed] | 26 | RTEMS_ENABLE_TESTS |
[39607984] | 27 | RTEMS_ENABLE_RTEMS_DEBUG |
[9078e097] | 28 | RTEMS_ENABLE_RTEMSBSP |
[ba748523] | 29 | RTEMS_ENABLE_MULTILIB |
[a9051de9] | 30 | RTEMS_ENABLE_PARAVIRT |
[e7fade3] | 31 | RTEMS_ENABLE_DRVMGR |
[48ad47cc] | 32 | |
33 | ## NOTES: | |
34 | ## * tools/build are host-native tools to be installed on the host. | |
35 | ## * tools/cpu are host-native or host-cross-target-tools | |
[872cc62] | 36 | |
[0b22af6] | 37 | RTEMS_BUILD_CONFIG_SUBDIRS([tools/build]) |
38 | RTEMS_BUILD_CONFIG_SUBDIRS([tools/cpu]) | |
[7fe5a88c] | 39 | |
[6f5b510] | 40 | case $enable_tests in |
41 | yes | samples ) | |
42 | RTEMS_BUILD_CONFIG_SUBDIRS([testsuites/tools]) | |
43 | ;; | |
44 | esac | |
45 | ||
[0b22af6] | 46 | # Some BSPs carelessly apply these tools as build-tools |
47 | AS_IF([test $host != $build],[ | |
[ba748523] | 48 | RTEMS_HOST_CONFIG_SUBDIRS([tools/build]) |
[0b22af6] | 49 | ]) |
[3174a7ed] | 50 | |
[be3e0f7] | 51 | AS_IF([test x"$enable_multilib" = x"yes"],[ |
52 | RTEMS_TARGET_CONFIG_SUBDIRS([cpukit]) | |
[6f6cde6f] | 53 | ]) |
[ba748523] | 54 | RTEMS_TARGET_CONFIG_SUBDIRS([c]) |
[254b4450] | 55 | |
[86c2108d] | 56 | AC_CONFIG_FILES([Makefile]) |
[6693a68] | 57 | |
[ba748523] | 58 | AC_OUTPUT |
Note: See TracBrowser
for help on using the repository browser.