mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 22:48:23 +00:00
2005-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/ppc.m4; Dynamically switch between {old|new} exceptions
depending upon presence of _OLD_EXCEPTIONS in CFLAGS.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2005-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/ppc.m4; Dynamically switch between {old|new} exceptions
|
||||
depending upon presence of _OLD_EXCEPTIONS in CFLAGS.
|
||||
|
||||
2005-02-11 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Remove HAS_WRAPUP_LIBBSP.
|
||||
|
||||
@@ -7,6 +7,15 @@
|
||||
|
||||
AC_DEFUN([RTEMS_PPC_EXCEPTIONS],
|
||||
[
|
||||
exceptions="$1-exceptions"
|
||||
AC_SUBST(exceptions)
|
||||
AC_MSG_CHECKING([for style of powerpc exceptions])
|
||||
AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[],
|
||||
[#if defined(_OLD_EXCEPTIONS)
|
||||
choke me
|
||||
#endif])],
|
||||
[EXCEPTIONS=new],
|
||||
[EXCEPTIONS=old])
|
||||
AC_MSG_RESULT([$EXCEPTIONS])
|
||||
AC_SUBST([exceptions],[$EXCEPTIONS-exceptions])
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user