source:
rtems/configure.ac
@
9eb1494f
Last change on this file since 9eb1494f was 9eb1494f, checked in by Sebastian Huber <sebastian.huber@…>, on 06/11/18 at 12:18:53 | |
---|---|
|
|
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([.]) |
[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([]) |
[aa567bc1] | 19 | AM_INIT_AUTOMAKE([no-define foreign dist-bzip2 no-dist-gzip subdir-objects 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. | |
[e1664027] | 24 | RTEMS_ENABLE_RTEMSBSP |
[04c308c] | 25 | RTEMS_ENABLE_MULTIPROCESSING |
[e1664027] | 26 | RTEMS_ENABLE_SMP |
[04c308c] | 27 | RTEMS_ENABLE_POSIX |
28 | RTEMS_ENABLE_NETWORKING | |
29 | RTEMS_ENABLE_CXX | |
[9f6f026] | 30 | RTEMS_ENABLE_TESTS |
[39607984] | 31 | RTEMS_ENABLE_RTEMS_DEBUG |
[a9051de9] | 32 | RTEMS_ENABLE_PARAVIRT |
[e7fade3] | 33 | RTEMS_ENABLE_DRVMGR |
[48ad47cc] | 34 | |
[9f6f026] | 35 | ## Check if there are valid tools install and in the path. |
36 | RTEMS_CHECK_TOOL(RTEMS_CC,gcc) | |
37 | test -z "$RTEMS_CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH]) | |
38 | ||
[48ad47cc] | 39 | ## NOTES: |
40 | ## * tools/build are host-native tools to be installed on the host. | |
41 | ## * tools/cpu are host-native or host-cross-target-tools | |
[872cc62] | 42 | |
[0b22af6] | 43 | RTEMS_BUILD_CONFIG_SUBDIRS([tools/build]) |
[7fe5a88c] | 44 | |
[0b22af6] | 45 | # Some BSPs carelessly apply these tools as build-tools |
46 | AS_IF([test $host != $build],[ | |
[ba748523] | 47 | RTEMS_HOST_CONFIG_SUBDIRS([tools/build]) |
[0b22af6] | 48 | ]) |
[3174a7ed] | 49 | |
[ba748523] | 50 | RTEMS_TARGET_CONFIG_SUBDIRS([c]) |
[254b4450] | 51 | |
[86c2108d] | 52 | AC_CONFIG_FILES([Makefile]) |
[6693a68] | 53 | |
[ba748523] | 54 | AC_OUTPUT |
Note: See TracBrowser
for help on using the repository browser.