source: rtems/c/src/configure.in @ 603f30f

4.104.114.84.95
Last change on this file since 603f30f was 846027b, checked in by Joel Sherrill <joel.sherrill@…>, on 10/31/00 at 21:19:08

2000-10-30 Ralf Corsepius <corsepiu@…>

  • configure.in: Switch to GNU-canonicalization.
  • Makefile.am: Reflect changes to configure.in.
  • acinclude.m4: Remove.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl  $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(exec)
7RTEMS_TOP(../..)
8AC_CONFIG_AUX_DIR(../..)
9
10RTEMS_ENABLE_CXX
11RTEMS_ENABLE_NETWORKING
12RTEMS_ENABLE_RDBG
13
14RTEMS_CANONICAL_TARGET_CPU
15RTEMS_CANONICAL_HOST
16
17AM_INIT_AUTOMAKE(rtems-c-src,$RTEMS_VERSION,no)
18AM_MAINTAINER_MODE
19
20RTEMS_ENABLE_MULTILIB
21RTEMS_ENV_RTEMSBSP
22RTEMS_CHECK_CPU
23RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
24
25RTEMS_CHECK_NETWORKING(RTEMS_BSP)
26
27## Note: the order of the directories below is essential
28AC_CONFIG_SUBDIRS(make)
29
30## Exclude exec from building if multilibs are enabled
31if test x"$multilib" = x"no"; then
32hst_subdirs="$hst_subdirs exec"
33fi
34hst_subdirs="$hst_subdirs lib"
35hst_subdirs="$hst_subdirs lib/libcpu"
36hst_subdirs="$hst_subdirs lib/libbsp"
37hst_subdirs="$hst_subdirs libfs"
38hst_subdirs="$hst_subdirs libmisc"
39
40if test "$RTEMS_CPU" != "unix"; then
41## HACK: Suppress libchip for unix
42hst_subdirs="$hst_subdirs libchip"
43fi
44
45if test "$HAS_NETWORKING" = "yes"; then
46  hst_subdirs="$hst_subdirs libnetworking librpc"
47  if test "$RTEMS_HAS_RDBG" = "yes"; then
48    RTEMS_CHECK_RDBG(RTEMS_BSP)
49  fi
50fi
51
52if test "$HAS_RDBG" = "yes"; then
53  hst_subdirs="$hst_subdirs librdbg"
54fi
55AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
56AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
57
58if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
59  hst_subdirs="$hst_subdirs librtems++";
60fi
61
62AC_CONFIG_SUBDIRS($hst_subdirs)
63AC_SUBST(hst_subdirs)
64
65AC_CONFIG_SUBDIRS(wrapup tests)
66
67RTEMS_PROJECT_ROOT
68
69# Explicitly list all Makefiles here
70AC_OUTPUT(
71Makefile
72,,
73test -d lib || mkdir lib
74)
Note: See TracBrowser for help on using the repository browser.