source: rtems/c/src/configure.in @ 04e6f7bf

4.104.114.84.95
Last change on this file since 04e6f7bf was 04e6f7bf, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 6, 2000 at 8:13:35 PM

Patch rtems-rc-20000705-3.diff from Ralf Corsepius <corsepiu@…>
that is a somewhat experimental, multilib-related patch:

Changes:

  • Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP in configure.ins below exec/. At the moment, RTEMS_ENV_RTEMSCPU is more or less an optical change to emphasize that these subdirectories shall not depend on RTEMS_BSP than a real behavioral change.
  • Add AC_DEFINE_* to several aclocal/*.m4 macros to prepare autoheader/autoconf generated targopts.h and similiar configuration headers.
  • c/src/configure.in: remove exec from cfg_subdirs if multilibs are enabled (c/src is build per bsp, exec shall be build per cpu in c/ or from the toplevel in future, when multilibs are enabled.)

Notes:

  • This patch should not have any impact on the current building scheme.
  • --enable-multilib still does not work.
  • running bootstrap from the toplevel directory is required.

CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: c/src/tests/libtests/termios/init.c
CVS: ----------------------------------------------------------------------

  • Property mode set to 100644
File size: 1.4 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
28cfg_subdirs="make"
29## Exclude exec from building if multilibs are enabled
30if test x"$multilib" = x"no"; then
31cfg_subdirs="$cfg_subdirs exec"
32fi
33cfg_subdirs="$cfg_subdirs lib"
34cfg_subdirs="$cfg_subdirs libmisc"
35
36if test "$RTEMS_CPU" != "unix"; then
37## HACK: Suppress libchip for unix
38cfg_subdirs="$cfg_subdirs libchip"
39fi
40
41if test "$HAS_NETWORKING" = "yes"; then
42  cfg_subdirs="$cfg_subdirs libnetworking librpc"
43  if test "$RTEMS_HAS_RDBG" = "yes"; then
44    RTEMS_CHECK_RDBG(RTEMS_BSP)
45  fi
46fi
47
48if test "$HAS_RDBG" = "yes"; then
49  cfg_subdirs="$cfg_subdirs librdbg"
50fi
51AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
52AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
53
54if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
55  cfg_subdirs="$cfg_subdirs librtems++";
56fi
57
58AC_CONFIG_SUBDIRS($cfg_subdirs)
59AC_SUBST(cfg_subdirs)
60AC_CONFIG_SUBDIRS(tests)
61
62RTEMS_PROJECT_ROOT
63
64# Explicitly list all Makefiles here
65AC_OUTPUT(
66Makefile
67wrapup/Makefile
68)
Note: See TracBrowser for help on using the repository browser.