Changeset d7610229 in rtems


Ignore:
Timestamp:
05/25/05 12:20:58 (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b3da5b1
Parents:
50e3b3f
Message:

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.
Location:
c/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r50e3b3f rd7610229  
     12005-05-25      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * aclocal/check-rdbg.m4: Use compilation check on _OLD_EXCEPTIONS
     4        to enable rdbg.
     5        * configure.ac: Reflect changes above.
     6
    172005-05-23      Ralf Corsepius <ralf.corsepius@rtems.org>
    28
  • c/src/aclocal/check-rdbg.m4

    r50e3b3f rd7610229  
    1818    elif test "${RTEMS_CPU}" = "powerpc";
    1919    then
    20         A=`grep -l RTEMS_PPC_EXCEPTION_PROCESSING_MODEL $srcdir/${RTEMS_TOPdir}/make/custom/* 2>/dev/null`;
    21         C=""
    22         for i in ${A} ;
    23         do
    24            B=`basename ${i} .cfg`;
    25            C="${C} ${B}";
    26         done
    27         rtems_cv_HAS_RDBG="no";
    28         for j in ${C} ;
    29         do
    30                 if test "${$1}" = "${j}" ;
    31                 then
    32                         rtems_cv_HAS_RDBG="yes";
    33                 fi
    34         done
     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])
    3528    else
    3629      rtems_cv_HAS_RDBG="no";
  • c/src/configure.ac

    r50e3b3f rd7610229  
    3333RTEMS_CHECK_NETWORKING(RTEMS_BSP)
    3434RTEMS_CHECK_POSIX_API(RTEMS_BSP)
    35 AS_IF([test "$HAS_NETWORKING" = "yes"],[
    36   AS_IF([test "$RTEMS_HAS_RDBG" = "yes"],[
    37     RTEMS_CHECK_RDBG(RTEMS_BSP)
    38   ])
    39 ])
    4035
    4136AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen)
     
    111106RTEMS_CANONICALIZE_TOOLS
    112107
     108AS_IF([test "$HAS_NETWORKING" = "yes"],[
     109  AS_IF([test "$RTEMS_HAS_RDBG" = "yes"],[
     110    RTEMS_CHECK_RDBG(RTEMS_BSP)
     111  ])
     112])
     113
    113114RTEMS_CHECK_GCC_WEAK
    114115
Note: See TracChangeset for help on using the changeset viewer.