mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 22:48:23 +00:00
2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/check-rdbg.m4: Use compilation check on _OLD_EXCEPTIONS to enable rdbg. * configure.ac: Reflect changes above.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/check-rdbg.m4: Use compilation check on _OLD_EXCEPTIONS
|
||||
to enable rdbg.
|
||||
* configure.ac: Reflect changes above.
|
||||
|
||||
2005-05-23 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Add ada/.
|
||||
|
||||
@@ -17,21 +17,14 @@ AC_CACHE_CHECK([whether BSP supports librdbg],
|
||||
rtems_cv_HAS_RDBG="yes" ;
|
||||
elif test "${RTEMS_CPU}" = "powerpc";
|
||||
then
|
||||
A=`grep -l RTEMS_PPC_EXCEPTION_PROCESSING_MODEL $srcdir/${RTEMS_TOPdir}/make/custom/* 2>/dev/null`;
|
||||
C=""
|
||||
for i in ${A} ;
|
||||
do
|
||||
B=`basename ${i} .cfg`;
|
||||
C="${C} ${B}";
|
||||
done
|
||||
rtems_cv_HAS_RDBG="no";
|
||||
for j in ${C} ;
|
||||
do
|
||||
if test "${$1}" = "${j}" ;
|
||||
then
|
||||
rtems_cv_HAS_RDBG="yes";
|
||||
fi
|
||||
done
|
||||
AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[],
|
||||
[#if defined(_OLD_EXCEPTIONS)
|
||||
choke me
|
||||
#endif])],
|
||||
[rtems_cv_HAS_RDBG=yes],
|
||||
[rtems_cv_HAS_RDBG=no])
|
||||
else
|
||||
rtems_cv_HAS_RDBG="no";
|
||||
fi
|
||||
|
||||
@@ -32,11 +32,6 @@ RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
||||
|
||||
RTEMS_CHECK_NETWORKING(RTEMS_BSP)
|
||||
RTEMS_CHECK_POSIX_API(RTEMS_BSP)
|
||||
AS_IF([test "$HAS_NETWORKING" = "yes"],[
|
||||
AS_IF([test "$RTEMS_HAS_RDBG" = "yes"],[
|
||||
RTEMS_CHECK_RDBG(RTEMS_BSP)
|
||||
])
|
||||
])
|
||||
|
||||
AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen)
|
||||
AC_PROG_AWK
|
||||
@@ -110,6 +105,12 @@ AM_PROG_CC_C_O
|
||||
RTEMS_PROG_CCAS
|
||||
RTEMS_CANONICALIZE_TOOLS
|
||||
|
||||
AS_IF([test "$HAS_NETWORKING" = "yes"],[
|
||||
AS_IF([test "$RTEMS_HAS_RDBG" = "yes"],[
|
||||
RTEMS_CHECK_RDBG(RTEMS_BSP)
|
||||
])
|
||||
])
|
||||
|
||||
RTEMS_CHECK_GCC_WEAK
|
||||
|
||||
AC_SUBST(CUSTOM_CFG_FILES)
|
||||
|
||||
Reference in New Issue
Block a user