source:
rtems/c/src/configure.in
@
5a23ca84
Last change on this file since 5a23ca84 was 70810dc, checked in by Joel Sherrill <joel.sherrill@…>, on 02/08/00 at 22:33:25 | |
---|---|
|
|
File size: 1.3 KB |
Rev | Line | |
---|---|---|
[eb299afc] | 1 | dnl Process this file with autoconf to produce a configure script. |
2 | dnl | |
3 | dnl $Id$ | |
4 | ||
5 | AC_PREREQ(2.13) | |
[f724a870] | 6 | AC_INIT(exec) |
[eb299afc] | 7 | RTEMS_TOP(../..) |
8 | AC_CONFIG_AUX_DIR(../..) | |
9 | ||
[e1d8abb] | 10 | RTEMS_ENABLE_CXX |
[b62a92c] | 11 | RTEMS_ENABLE_NETWORKING |
[45269dc] | 12 | RTEMS_ENABLE_RDBG |
[e1d8abb] | 13 | |
[eb299afc] | 14 | RTEMS_CANONICAL_TARGET_CPU |
[b62a92c] | 15 | RTEMS_CANONICAL_HOST |
[eb299afc] | 16 | |
17 | AM_INIT_AUTOMAKE(rtems-c-src,$RTEMS_VERSION,no) | |
18 | AM_MAINTAINER_MODE | |
19 | ||
20 | RTEMS_ENV_RTEMSBSP | |
21 | RTEMS_CHECK_CPU | |
22 | RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) | |
23 | ||
[b62a92c] | 24 | RTEMS_CHECK_NETWORKING(RTEMS_BSP) |
25 | ||
[e1d8abb] | 26 | ## Note: the order of the directories below is essential |
[3330ecb] | 27 | cfg_subdirs="make" |
28 | cfg_subdirs="$cfg_subdirs exec" | |
29 | cfg_subdirs="$cfg_subdirs lib" | |
[dd04e32] | 30 | cfg_subdirs="$cfg_subdirs libmisc" |
[45269dc] | 31 | |
[2782e69] | 32 | if test "$RTEMS_CPU" != "unix"; then |
33 | ## HACK: Suppress libchip for unix | |
34 | cfg_subdirs="$cfg_subdirs libchip" | |
35 | fi | |
36 | ||
[b62a92c] | 37 | if test "$HAS_NETWORKING" = "yes"; then |
[3330ecb] | 38 | cfg_subdirs="$cfg_subdirs libnetworking librpc" |
[45269dc] | 39 | if test "$RTEMS_HAS_RDBG" = "yes"; then |
40 | RTEMS_CHECK_RDBG(RTEMS_BSP) | |
41 | fi | |
42 | fi | |
43 | ||
44 | if test "$HAS_RDBG" = "yes"; then | |
45 | cfg_subdirs="$cfg_subdirs librdbg" | |
[b62a92c] | 46 | fi |
[4bdebdfe] | 47 | AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" ) |
48 | AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" ) | |
[45269dc] | 49 | |
[e1d8abb] | 50 | if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then |
[45269dc] | 51 | cfg_subdirs="$cfg_subdirs librtems++"; |
[e1d8abb] | 52 | fi |
[45269dc] | 53 | |
[e1d8abb] | 54 | AC_CONFIG_SUBDIRS($cfg_subdirs) |
[0efa9f0] | 55 | AC_SUBST(cfg_subdirs) |
[eb299afc] | 56 | AC_CONFIG_SUBDIRS(tests) |
57 | ||
[b62a92c] | 58 | RTEMS_PROJECT_ROOT |
59 | ||
[70810dc] | 60 | # Explicitly list all Makefiles here |
[eb299afc] | 61 | AC_OUTPUT( |
62 | Makefile | |
[0efa9f0] | 63 | wrapup/Makefile |
[eb299afc] | 64 | ) |
Note: See TracBrowser
for help on using the repository browser.