source: rtems/c/src/configure.in @ 3eec211

4.104.114.84.95
Last change on this file since 3eec211 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
RevLine 
[eb299afc]1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl  $Id$
4
5AC_PREREQ(2.13)
[f724a870]6AC_INIT(exec)
[eb299afc]7RTEMS_TOP(../..)
8AC_CONFIG_AUX_DIR(../..)
9
[e1d8abb]10RTEMS_ENABLE_CXX
[b62a92c]11RTEMS_ENABLE_NETWORKING
[45269dc]12RTEMS_ENABLE_RDBG
[e1d8abb]13
[eb299afc]14RTEMS_CANONICAL_TARGET_CPU
[b62a92c]15RTEMS_CANONICAL_HOST
[eb299afc]16
17AM_INIT_AUTOMAKE(rtems-c-src,$RTEMS_VERSION,no)
18AM_MAINTAINER_MODE
19
[04e6f7bf]20RTEMS_ENABLE_MULTILIB
[eb299afc]21RTEMS_ENV_RTEMSBSP
22RTEMS_CHECK_CPU
23RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
24
[b62a92c]25RTEMS_CHECK_NETWORKING(RTEMS_BSP)
26
[e1d8abb]27## Note: the order of the directories below is essential
[d16ca93]28AC_CONFIG_SUBDIRS(make)
[4a2faa7c]29
[04e6f7bf]30## Exclude exec from building if multilibs are enabled
31if test x"$multilib" = x"no"; then
[d16ca93]32hst_subdirs="$hst_subdirs exec"
[04e6f7bf]33fi
[d16ca93]34hst_subdirs="$hst_subdirs lib"
35hst_subdirs="$hst_subdirs lib/libcpu"
36hst_subdirs="$hst_subdirs lib/libbsp"
37hst_subdirs="$hst_subdirs libfs"
[fa60c5b]38hst_subdirs="$hst_subdirs libmisc"
[45269dc]39
[2782e69]40if test "$RTEMS_CPU" != "unix"; then
41## HACK: Suppress libchip for unix
[fa60c5b]42hst_subdirs="$hst_subdirs libchip"
[2782e69]43fi
44
[b62a92c]45if test "$HAS_NETWORKING" = "yes"; then
[3724b7f]46  hst_subdirs="$hst_subdirs libnetworking librpc"
[45269dc]47  if test "$RTEMS_HAS_RDBG" = "yes"; then
48    RTEMS_CHECK_RDBG(RTEMS_BSP)
49  fi
50fi
51
52if test "$HAS_RDBG" = "yes"; then
[3724b7f]53  hst_subdirs="$hst_subdirs librdbg"
[b62a92c]54fi
[4bdebdfe]55AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
56AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
[45269dc]57
[e1d8abb]58if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
[0864bf93]59  hst_subdirs="$hst_subdirs librtems++";
[e1d8abb]60fi
[45269dc]61
[846027b]62AC_CONFIG_SUBDIRS($hst_subdirs)
[4a2faa7c]63AC_SUBST(hst_subdirs)
64
[846027b]65AC_CONFIG_SUBDIRS(wrapup tests)
[eb299afc]66
[b62a92c]67RTEMS_PROJECT_ROOT
68
[70810dc]69# Explicitly list all Makefiles here
[eb299afc]70AC_OUTPUT(
71Makefile
[846027b]72,,
[c05edee]73test -d lib || mkdir lib
[eb299afc]74)
Note: See TracBrowser for help on using the repository browser.