source: rtems/c/src/configure.ac @ 72650fcb

4.104.114.84.95
Last change on this file since 72650fcb was 8dc51855, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 17, 2001 at 1:14:34 PM

2001-10-16 Ralf Corsepius <corsepiu@…>

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