source: rtems/c/src/lib/configure.in @ b2b4835

4.104.114.84.95
Last change on this file since b2b4835 was 737a599, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 12, 2000 at 4:05:58 PM

Patch rtems-rc-20000104-15.diff from Ralf Corsepius <corsepiu@…>
that fixes the following problems:

  1. Removing bogus ';' in some configure.in (cosmetical fix)
  2. Moves GAS_CODE16 checks to libbsp/i386/*/configure.in (essential fix)

#2 was responsible for the gcc/binutils-2.9.5 choking while building for
the pc386.

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[eb299af]1dnl Process this file with autoconf to produce a configure script.
2dnl
[3ac8e590]3dnl $Id$
[eb299af]4
5AC_PREREQ(2.13)
6AC_INIT(libbsp)
7RTEMS_TOP(../../..)
8AC_CONFIG_AUX_DIR(../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
[7e642ba]11AM_INIT_AUTOMAKE(rtems-c-src-lib,$RTEMS_VERSION,no)
[eb299af]12AM_MAINTAINER_MODE
13
14RTEMS_ENABLE_MULTIPROCESSING
15RTEMS_ENABLE_NETWORKING
16RTEMS_ENABLE_LIBCDIR
17RTEMS_ENABLE_BARE
18RTEMS_ENABLE_HWAPI
19
20RTEMS_ENV_RTEMSBSP
21
22RTEMS_CHECK_CPU
23RTEMS_CANONICAL_HOST
24
25RTEMS_PROJECT_ROOT
26
27dnl check target cc
28RTEMS_PROG_CC_FOR_TARGET
29RTEMS_CANONICALIZE_TOOLS
30
31RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
[1896a650]32RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
[3a8915e]33RTEMS_CHECK_NETWORKING(RTEMS_BSP)
[eb299af]34
35AM_CONDITIONAL(UNIX,test "$RTEMS_CPU" = "unix")
[e1d8abb]36
[eb299af]37# find all the CPU dependent library Makefiles
[e1d8abb]38AC_CONFIG_SUBDIRS(libcpu)
39AC_CONFIG_SUBDIRS(libbsp)
[eb299af]40
41RTEMS_ENABLE_HWAPI
42if test "$RTEMS_HAS_HWAPI" = "yes"; then
[e1d8abb]43  if test -d "${srcdir}/libhwapi"; then
44    cfg_subdirs="$cfg_subdirs libhwapi"
[eb299af]45  fi
[e1d8abb]46  LIBHWAPI="libhwapi"
[eb299af]47fi
[e1d8abb]48AC_SUBST(LIBHWAPI)
[eb299af]49
[e1d8abb]50AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
51
52AC_CONFIG_SUBDIRS($cfg_subdirs)
[eb299af]53
[e1d8abb]54PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
55AC_SUBST(PROJECT_INCLUDE)
[eb299af]56
57# try to explicitly list a Makefile here
58AC_OUTPUT(
59Makefile
60include/Makefile
[e1d8abb]61include/sys/Makefile
62include/motorola/Makefile
63include/zilog/Makefile
[ce18601a]64libc/Makefile)
Note: See TracBrowser for help on using the repository browser.