source: rtems/c/src/configure.in @ 1c31722

4.104.114.84.9
Last change on this file since 1c31722 was 1c31722, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 27, 2000 at 1:33:33 PM

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

  • configure.in: add tests to the GNU canonicalized subdirectories,
  • Property mode set to 100644
File size: 1.8 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_subdirs1="make"
29
30## Exclude exec from building if multilibs are enabled
31if test x"$multilib" = x"no"; then
32hst_subdirs1="$hst_subdirs1 exec"
33fi
34hst_subdirs1="$hst_subdirs1 lib lib/libcpu"
35cfg_subdirs="$cfg_subdirs lib/libbsp"
36hst_subdirs="libfs"
37hst_subdirs="$hst_subdirs libmisc"
38
39if test "$RTEMS_CPU" != "unix"; then
40## HACK: Suppress libchip for unix
41hst_subdirs="$hst_subdirs libchip"
42fi
43
44if test "$HAS_NETWORKING" = "yes"; then
45  hst_subdirs="$hst_subdirs libnetworking librpc"
46  if test "$RTEMS_HAS_RDBG" = "yes"; then
47    RTEMS_CHECK_RDBG(RTEMS_BSP)
48  fi
49fi
50
51if test "$HAS_RDBG" = "yes"; then
52  hst_subdirs="$hst_subdirs librdbg"
53fi
54AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
55AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
56
57if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
58  hst_subdirs="$hst_subdirs librtems++";
59fi
60
61RTEMS_CONFIG_HOST_SUBDIRS($hst_subdirs1)
62AC_SUBST(hst_subdirs1)
63RTEMS_CONFIG_HOST_SUBDIRS($hst_subdirs)
64AC_SUBST(hst_subdirs)
65
66AC_CONFIG_SUBDIRS($cfg_subdirs1)
67AC_SUBST(cfg_subdirs1)
68AC_CONFIG_SUBDIRS($cfg_subdirs)
69AC_SUBST(cfg_subdirs)
70
71RTEMS_CONFIG_HOST_SUBDIRS(tests)
72
73RTEMS_PROJECT_ROOT
74
75RTEMS_PROG_CC_FOR_TARGET
76RTEMS_CANONICALIZE_TOOLS
77
78# Explicitly list all Makefiles here
79AC_OUTPUT(
80Makefile
81wrapup/Makefile,,
82test -d lib || mkdir lib
83)
84
85RTEMS_OUTPUT_HOST_SUBDIRS(RTEMS_HOST_SUBDIRS)
Note: See TracBrowser for help on using the repository browser.