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

4.104.114.84.95
Last change on this file since d2bc265b was 737a599, checked in by Joel Sherrill <joel.sherrill@…>, on 01/12/00 at 16:05:58

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
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(libbsp)
7RTEMS_TOP(../../..)
8AC_CONFIG_AUX_DIR(../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE(rtems-c-src-lib,$RTEMS_VERSION,no)
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)
32RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
33RTEMS_CHECK_NETWORKING(RTEMS_BSP)
34
35AM_CONDITIONAL(UNIX,test "$RTEMS_CPU" = "unix")
36
37# find all the CPU dependent library Makefiles
38AC_CONFIG_SUBDIRS(libcpu)
39AC_CONFIG_SUBDIRS(libbsp)
40
41RTEMS_ENABLE_HWAPI
42if test "$RTEMS_HAS_HWAPI" = "yes"; then
43  if test -d "${srcdir}/libhwapi"; then
44    cfg_subdirs="$cfg_subdirs libhwapi"
45  fi
46  LIBHWAPI="libhwapi"
47fi
48AC_SUBST(LIBHWAPI)
49
50AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
51
52AC_CONFIG_SUBDIRS($cfg_subdirs)
53
54PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
55AC_SUBST(PROJECT_INCLUDE)
56
57# try to explicitly list a Makefile here
58AC_OUTPUT(
59Makefile
60include/Makefile
61include/sys/Makefile
62include/motorola/Makefile
63include/zilog/Makefile
64libc/Makefile)
Note: See TracBrowser for help on using the repository browser.