4.115
Line | |
---|
1 | # |
---|
2 | # Some hacks for handling powerpc-exception subdirectories |
---|
3 | # |
---|
4 | # Note: Consider this file a temporary band-aid until a better, more general |
---|
5 | # subdirectory handling solution is introduced to RTEMS. |
---|
6 | |
---|
7 | AC_DEFUN([RTEMS_PPC_EXCEPTIONS], |
---|
8 | [ |
---|
9 | AC_MSG_CHECKING([for style of powerpc exceptions]) |
---|
10 | AC_COMPILE_IFELSE( |
---|
11 | [AC_LANG_PROGRAM( |
---|
12 | [], |
---|
13 | [#if defined(_OLD_EXCEPTIONS) |
---|
14 | choke me |
---|
15 | #endif])], |
---|
16 | [EXCEPTIONS=new], |
---|
17 | [EXCEPTIONS=old]) |
---|
18 | AC_MSG_RESULT([$EXCEPTIONS]) |
---|
19 | AC_SUBST([exceptions],[$EXCEPTIONS-exceptions]) |
---|
20 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.