Changeset a3f91c6 in rtems


Ignore:
Timestamp:
Feb 16, 2005, 10:05:22 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
756f4a4
Parents:
21a6869c
Message:

2005-02-16 Ralf Corsepius <ralf.corsepius@…>

  • aclocal/ppc.m4; Dynamically switch between {old|new} exceptions depending upon presence of _OLD_EXCEPTIONS in CFLAGS.
Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r21a6869c ra3f91c6  
     12005-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * aclocal/ppc.m4; Dynamically switch between {old|new} exceptions
     4        depending upon presence of _OLD_EXCEPTIONS in CFLAGS.
     5
    162005-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
    27
  • c/src/aclocal/ppc.m4

    r21a6869c ra3f91c6  
    88AC_DEFUN([RTEMS_PPC_EXCEPTIONS],
    99[
    10 exceptions="$1-exceptions"
    11 AC_SUBST(exceptions)
     10AC_MSG_CHECKING([for style of powerpc exceptions])
     11AC_COMPILE_IFELSE(
     12  [AC_LANG_PROGRAM(
     13    [],
     14    [#if defined(_OLD_EXCEPTIONS)
     15     choke me
     16     #endif])],
     17  [EXCEPTIONS=new],
     18  [EXCEPTIONS=old])
     19AC_MSG_RESULT([$EXCEPTIONS])
     20AC_SUBST([exceptions],[$EXCEPTIONS-exceptions])
    1221])
Note: See TracChangeset for help on using the changeset viewer.