source: rtems/c/src/configure.in @ cf1f72e

4.104.114.84.95
Last change on this file since cf1f72e was 70810dc, checked in by Joel Sherrill <joel.sherrill@…>, on 02/08/00 at 22:33:25

Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@…>
that contains:

  • Removes remaining (now illegal) references to $(SRC) from a couple of Makefile.ams
  • Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
  • Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR from most configure scripts, i.e. LIBCDIR becomes less visible)
  • Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to libbsp/*/configure.ins (A minor bug in previous implementations, which only has an impact when switching to GNU/Cygnus canonicalization)
  • Cleans up several bogus comments.
  • Removes MKLIB
  • Switches the version number to 4.5.0 (for testing version number handling)
  • Property mode set to 100644
File size: 1.3 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_ENV_RTEMSBSP
21RTEMS_CHECK_CPU
22RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
23
24RTEMS_CHECK_NETWORKING(RTEMS_BSP)
25
26## Note: the order of the directories below is essential
27cfg_subdirs="make"
28cfg_subdirs="$cfg_subdirs exec"
29cfg_subdirs="$cfg_subdirs lib"
30cfg_subdirs="$cfg_subdirs libmisc"
31
32if test "$RTEMS_CPU" != "unix"; then
33## HACK: Suppress libchip for unix
34cfg_subdirs="$cfg_subdirs libchip"
35fi
36
37if test "$HAS_NETWORKING" = "yes"; then
38  cfg_subdirs="$cfg_subdirs libnetworking librpc"
39  if test "$RTEMS_HAS_RDBG" = "yes"; then
40    RTEMS_CHECK_RDBG(RTEMS_BSP)
41  fi
42fi
43
44if test "$HAS_RDBG" = "yes"; then
45  cfg_subdirs="$cfg_subdirs librdbg"
46fi
47AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
48AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
49
50if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
51  cfg_subdirs="$cfg_subdirs librtems++";
52fi
53
54AC_CONFIG_SUBDIRS($cfg_subdirs)
55AC_SUBST(cfg_subdirs)
56AC_CONFIG_SUBDIRS(tests)
57
58RTEMS_PROJECT_ROOT
59
60# Explicitly list all Makefiles here
61AC_OUTPUT(
62Makefile
63wrapup/Makefile
64)
Note: See TracBrowser for help on using the repository browser.