From 000a9a97849a31c643ff0994eeba2b701dd959d7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 13 Dec 1999 14:48:17 +0000 Subject: Patch rtems-rc-19991203-1.diff from Ralf Corsepius 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 --- aclocal/check-rdbg.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'aclocal/check-rdbg.m4') diff --git a/aclocal/check-rdbg.m4 b/aclocal/check-rdbg.m4 index c191651bc2..2ea5919c36 100644 --- a/aclocal/check-rdbg.m4 +++ b/aclocal/check-rdbg.m4 @@ -9,7 +9,11 @@ AC_REQUIRE([RTEMS_ENABLE_RDBG])dnl AC_CACHE_CHECK([whether BSP supports librdbg], rtems_cv_HAS_RDBG, [ - if test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/${$1}"; then + if test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/${$1}"; + then + rtems_cv_HAS_RDBG="yes" ; + elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any"; + then rtems_cv_HAS_RDBG="yes" ; else rtems_cv_HAS_RDBG="no"; -- cgit v1.2.3