4.104.114.84.95
Last change
on this file since d7610229 was
d7610229,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 05/25/05 at 12:20:58
|
2005-05-25 Ralf Corsepius <ralf.corsepius@…>
- aclocal/check-rdbg.m4: Use compilation check on _OLD_EXCEPTIONS
to enable rdbg.
- configure.ac: Reflect changes above.
|
-
Property mode set to
100644
|
File size:
859 bytes
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | dnl |
---|
3 | AC_DEFUN([RTEMS_CHECK_RDBG], |
---|
4 | [dnl |
---|
5 | AC_REQUIRE([RTEMS_TOP])dnl |
---|
6 | AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl |
---|
7 | AC_REQUIRE([RTEMS_CHECK_NETWORKING])dnl |
---|
8 | AC_REQUIRE([RTEMS_ENABLE_RDBG])dnl |
---|
9 | AC_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 | elif test "${RTEMS_CPU}" = "powerpc"; |
---|
19 | then |
---|
20 | AC_COMPILE_IFELSE( |
---|
21 | [AC_LANG_PROGRAM( |
---|
22 | [], |
---|
23 | [#if defined(_OLD_EXCEPTIONS) |
---|
24 | choke me |
---|
25 | #endif])], |
---|
26 | [rtems_cv_HAS_RDBG=yes], |
---|
27 | [rtems_cv_HAS_RDBG=no]) |
---|
28 | else |
---|
29 | rtems_cv_HAS_RDBG="no"; |
---|
30 | fi |
---|
31 | ]) |
---|
32 | HAS_RDBG="$rtems_cv_HAS_RDBG" |
---|
33 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.