source:
rtems/configure.ac
@
9f6f026
Last change on this file since 9f6f026 was 9f6f026, checked in by Chris Johns <chrisj@…>, on 04/09/18 at 06:18:09 | |
---|---|
|
|
File size: 1.5 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([.]) |
[2afb22b] | 7 | RTEMS_SOURCE_TOP |
8 | RTEMS_BUILD_TOP | |
[254b4450] | 9 | |
[df49c60] | 10 | # Abort if trying to build inside of the source tree. |
[bcf4d5bc] | 11 | AS_IF([test -f aclocal/version.m4],[ |
[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] ) | |
[bcf4d5bc] | 16 | ]) |
[df49c60] | 17 | |
[e712997] | 18 | AC_CANONICAL_TARGET([]) |
[bb2b825] | 19 | AM_INIT_AUTOMAKE([no-define foreign dist-bzip2 no-dist-gzip 1.12.2]) |
[6693a68] | 20 | AM_MAINTAINER_MODE |
[04c308c] | 21 | |
[66387986] | 22 | ## These option are only in here to let --help report all supported |
23 | ## options. | |
[04c308c] | 24 | RTEMS_ENABLE_MULTIPROCESSING |
25 | RTEMS_ENABLE_POSIX | |
26 | RTEMS_ENABLE_NETWORKING | |
27 | RTEMS_ENABLE_CXX | |
[9f6f026] | 28 | RTEMS_ENABLE_TESTS |
[39607984] | 29 | RTEMS_ENABLE_RTEMS_DEBUG |
[9078e097] | 30 | RTEMS_ENABLE_RTEMSBSP |
[a9051de9] | 31 | RTEMS_ENABLE_PARAVIRT |
[e7fade3] | 32 | RTEMS_ENABLE_DRVMGR |
[48ad47cc] | 33 | |
[9f6f026] | 34 | ## Check if there are valid tools install and in the path. |
35 | RTEMS_CHECK_TOOL(RTEMS_CC,gcc) | |
36 | test -z "$RTEMS_CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH]) | |
37 | ||
[48ad47cc] | 38 | ## NOTES: |
39 | ## * tools/build are host-native tools to be installed on the host. | |
40 | ## * tools/cpu are host-native or host-cross-target-tools | |
[872cc62] | 41 | |
[0b22af6] | 42 | RTEMS_BUILD_CONFIG_SUBDIRS([tools/build]) |
43 | RTEMS_BUILD_CONFIG_SUBDIRS([tools/cpu]) | |
[7fe5a88c] | 44 | |
[6f5b510] | 45 | case $enable_tests in |
46 | yes | samples ) | |
47 | RTEMS_BUILD_CONFIG_SUBDIRS([testsuites/tools]) | |
48 | ;; | |
49 | esac | |
50 | ||
[0b22af6] | 51 | # Some BSPs carelessly apply these tools as build-tools |
52 | AS_IF([test $host != $build],[ | |
[ba748523] | 53 | RTEMS_HOST_CONFIG_SUBDIRS([tools/build]) |
[0b22af6] | 54 | ]) |
[3174a7ed] | 55 | |
[ba748523] | 56 | RTEMS_TARGET_CONFIG_SUBDIRS([c]) |
[254b4450] | 57 | |
[86c2108d] | 58 | AC_CONFIG_FILES([Makefile]) |
[6693a68] | 59 | |
[ba748523] | 60 | AC_OUTPUT |
Note: See TracBrowser
for help on using the repository browser.