source: rtems/c/src/lib/libbsp/configure.in @ 5a23ca84

4.104.114.84.95
Last change on this file since 5a23ca84 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
RevLine 
[e1d8abb]1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(README)
7RTEMS_TOP(../../../..)
8AC_CONFIG_AUX_DIR(../../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
[847dbbe]11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp,$RTEMS_VERSION,no)
[e1d8abb]12AM_MAINTAINER_MODE
13
14RTEMS_ENABLE_MULTIPROCESSING
[70810dc]15RTEMS_PROG_CC_FOR_TARGET
16RTEMS_CANONICALIZE_TOOLS
[e1d8abb]17RTEMS_ENABLE_BARE
18
19RTEMS_ENV_RTEMSBSP
20
21RTEMS_CHECK_CPU
22RTEMS_CANONICAL_HOST
23
24RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
25RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
26
27RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
28
29# Is there code where there should be for this BSP?
30# The bare bsp is a special case as it is not under the RTEMS_CPU path
[b62a92c]31case $bspdir in
[e1d8abb]32  bare)
33    bspcpudir=
34    if test "X${BARE_CPU_CFLAGS}" = "X" ; then
35      AC_MSG_ERROR([--enable-bare-cpu-cflags not specified for bare bsp])
36    fi
37    if test "X${BARE_CPU_MODEL}" = "X" ; then
38      AC_MSG_ERROR([--enable-bare-cpu-model not specified for bare bsp])
39    fi
40    ;;
41  *)
42    bspcpudir=$RTEMS_CPU/
43    ;;
44esac
45
46if test "$RTEMS_BSP" = "bare" ; then
47  RTEMS_LIBBSP_CPU_SUBDIR="bare"
48else
[94608578]49  RTEMS_LIBBSP_CPU_SUBDIR=$RTEMS_CPU
[e1d8abb]50fi
51AC_SUBST(RTEMS_LIBBSP_CPU_SUBDIR)
[847dbbe]52cfg_subdirs="$RTEMS_LIBBSP_CPU_SUBDIR"
[94608578]53
[e1d8abb]54AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
[fa178d49]55AC_CONFIG_SUBDIRS($cfg_subdirs)
[e1d8abb]56
[70810dc]57RTEMS_PROJECT_ROOT
58
59# Explicitly list all Makefiles here
[e1d8abb]60AC_OUTPUT(
61Makefile
[847dbbe]62shmdr/Makefile)
Note: See TracBrowser for help on using the repository browser.