summaryrefslogtreecommitdiffstats
path: root/aclocal/check-rdbg.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-12-13 14:48:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-12-13 14:48:17 +0000
commit000a9a97849a31c643ff0994eeba2b701dd959d7 (patch)
tree36693485bab9ae4d5c476967e77c3588870ca844 /aclocal/check-rdbg.m4
parent39e6bbe1aa6212cfad9f1424a5e3e0394aeec1f9 (diff)
downloadrtems-000a9a97849a31c643ff0994eeba2b701dd959d7.tar.bz2
Patch rtems-rc-19991203-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
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
Diffstat (limited to 'aclocal/check-rdbg.m4')
-rw-r--r--aclocal/check-rdbg.m46
1 files changed, 5 insertions, 1 deletions
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";