Changeset 1896a650 in rtems for c/src/lib/configure.in


Ignore:
Timestamp:
Jul 30, 1999, 5:52:50 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a3c8bda
Parents:
aa9eb94
Message:

Patch from Ralf Corsepius <corsepiu@…>:

The main topic is replacing the hard-coded values for HAS_MP and
HAS_RDBG in custom/*.cfg with per-bsp configuration-time autoconf checks
(This is the patch I had mentioned before earlier this week).

CHANGES

  • HAS_MP removed from custom/*.cfg, replaced with configuration time autoconf check
  • HAS_RDBG removed from custom/*.cfg, replaced with configuration-time autoconf check
  • NEW: c/src/make/bsp.cfg.in, takes configuration-time checked per-bsp values (i.e. HAS_MP, HAS_RDBG), gets installed as $(prefix)/<bsp>/make/bsp.cfg
  • NEW: default.cfg includes bsp.cfg - this change is backward compatible.
  • IMPORT_SRC: apply VPATH instead for ts_386ex/i386ex subdirectory Makefile.ins
  • HACK: a bug in acpolish mis-handles addtions to makefile variables which are enclosed in gmake conditionals: c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in
  • Apply inline_dir, HAS_MP and HAS_RDBG for avoiding configuration of unneeded subdirectories in various configure.in files.
  • Several minor changes in Makefile.ins and configure.ins, wrt. to the order of including *.cfg and defining Makefile variables

APPLYING THE PATCH:

patch -p1 < rtems-rc-19990709-4.diff
./autogen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/configure.in

    raa9eb94 r1896a650  
    5757
    5858RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
     59RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
    5960
    6061RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
     
    132133
    133134  if test "$RTEMS_HAS_RDBG" = "yes"; then
    134     RTEMS_CHECK_RDBG
    135     RTEMS_HAS_RDBG="$rtems_cv_has_rdbg";
    136 
    137     if test "$rtems_cv_has_rdbg" = "yes"; then
     135    RTEMS_CHECK_RDBG(RTEMS_BSP)
     136
     137    if test "$HAS_RDBG" = "yes"; then
    138138      AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen)
    139139      AC_PROG_AWK
     
    145145      fi
    146146    fi
    147     if test "$rtems_cv_has_rdbg" = "yes"; then
     147    if test "$HAS_RDBG" = "yes"; then
    148148      RTEMS_CHECK_MAKEFILE(librdbg)
    149149    fi
Note: See TracChangeset for help on using the changeset viewer.