source: rtems/c/src/configure.ac @ 2a691da

4.104.114.84.95
Last change on this file since 2a691da was d7aecdc, checked in by Joel Sherrill <joel.sherrill@…>, on 10/12/01 at 18:47:00

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

  • .cvsignore: Add autom4te.cache for autoconf > 2.52.
  • configure.in: Remove.
  • Property mode set to 100644
File size: 1.6 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
33hst_subdirs="$hst_subdirs exec"
34fi
35hst_subdirs="$hst_subdirs lib"
36hst_subdirs="$hst_subdirs lib/libcpu"
37hst_subdirs="$hst_subdirs lib/libbsp"
38hst_subdirs="$hst_subdirs libfs"
39hst_subdirs="$hst_subdirs libmisc"
40
41if test "$RTEMS_CPU" != "unix"; then
42## HACK: Suppress libchip for unix
43hst_subdirs="$hst_subdirs libchip"
44fi
45
46if test "$HAS_NETWORKING" = "yes"; then
47  hst_subdirs="$hst_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  hst_subdirs="$hst_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  hst_subdirs="$hst_subdirs librtems++";
61fi
62
63AC_CONFIG_SUBDIRS($hst_subdirs)
64AC_SUBST(hst_subdirs)
65
66AC_CONFIG_SUBDIRS(wrapup tests)
67
68RTEMS_PROJECT_ROOT
69
70# Explicitly list all Makefiles here
71AC_CONFIG_FILES([Makefile
72])
73AC_CONFIG_COMMANDS([default],[[]],[[test -d lib || mkdir lib
74]])
75AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.