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

4.104.114.84.95
Last change on this file since e4c07444 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(README)
7RTEMS_TOP(../../../..)
8AC_CONFIG_AUX_DIR(../../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp,$RTEMS_VERSION,no)
12AM_MAINTAINER_MODE
13
14RTEMS_ENABLE_MULTIPROCESSING
15RTEMS_PROG_CC_FOR_TARGET
16RTEMS_CANONICALIZE_TOOLS
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
31case $bspdir in
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
49  RTEMS_LIBBSP_CPU_SUBDIR=$RTEMS_CPU
50fi
51AC_SUBST(RTEMS_LIBBSP_CPU_SUBDIR)
52cfg_subdirs="$RTEMS_LIBBSP_CPU_SUBDIR"
53
54AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
55AC_CONFIG_SUBDIRS($cfg_subdirs)
56
57RTEMS_PROJECT_ROOT
58
59# Explicitly list all Makefiles here
60AC_OUTPUT(
61Makefile
62shmdr/Makefile)
Note: See TracBrowser for help on using the repository browser.