source: rtems/aclocal/check-rdbg.m4 @ 1896a650

4.104.114.84.95
Last change on this file since 1896a650 was 1896a650, checked in by Joel Sherrill <joel.sherrill@…>, on 07/30/99 at 17:52:50

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

  • Property mode set to 100644
File size: 383 bytes
Line 
1AC_DEFUN(RTEMS_CHECK_RDBG,
2[dnl
3AC_REQUIRE([RTEMS_TOP])dnl
4AC_REQUIRE([RTEMS_CHECK_CPU])dnl
5AC_CACHE_CHECK([whether BSP supports librdbg],
6  rtems_cv_HAS_RDBG,
7  [
8    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}/${$1}"; then
9      rtems_cv_HAS_RDBG="yes" ;
10    else
11      rtems_cv_HAS_RDBG="no";
12    fi
13  ])
14HAS_RDBG="$rtems_cv_HAS_RDBG"
15AC_SUBST(HAS_RDBG)
16])
Note: See TracBrowser for help on using the repository browser.