source: rtems/aclocal/check-rdbg.m4 @ 8e57762

4.104.114.84.95
Last change on this file since 8e57762 was 000a9a9, checked in by Joel Sherrill <joel.sherrill@…>, on 12/13/99 at 14:48:17

Patch rtems-rc-19991203-1.diff from Ralf Corsepius <corsepiu@…>
to generalize librdbg for all i386 BSPs. His comments:

The patch below generalizes librdbg for all i386 bsps. It is not a
complete rewrite, but a minimal invasive attempt to generalization.

To apply:

mv c/src/librdbg/src/i386/pc386 c/src/librdbg/src/i386/any
patch -p1 < patches-rc-19991203-1.diff
./bootstrap

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