4.104.114.84.95
Last change
on this file since a7479f2 was
a3f91c6,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/16/05 at 10:05:22
|
2005-02-16 Ralf Corsepius <ralf.corsepius@…>
- aclocal/ppc.m4; Dynamically switch between {old|new} exceptions
depending upon presence of _OLD_EXCEPTIONS in CFLAGS.
|
-
Property mode set to
100644
|
File size:
522 bytes
|
Line | |
---|
1 | # $Id$ |
---|
2 | # |
---|
3 | # Some hacks for handling powerpc-exception subdirectories |
---|
4 | # |
---|
5 | # Note: Consider this file a temporary band-aid until a better, more general |
---|
6 | # subdirectory handling solution is introduced to RTEMS. |
---|
7 | |
---|
8 | AC_DEFUN([RTEMS_PPC_EXCEPTIONS], |
---|
9 | [ |
---|
10 | AC_MSG_CHECKING([for style of powerpc exceptions]) |
---|
11 | AC_COMPILE_IFELSE( |
---|
12 | [AC_LANG_PROGRAM( |
---|
13 | [], |
---|
14 | [#if defined(_OLD_EXCEPTIONS) |
---|
15 | choke me |
---|
16 | #endif])], |
---|
17 | [EXCEPTIONS=new], |
---|
18 | [EXCEPTIONS=old]) |
---|
19 | AC_MSG_RESULT([$EXCEPTIONS]) |
---|
20 | AC_SUBST([exceptions],[$EXCEPTIONS-exceptions]) |
---|
21 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.