source: rtems/c/src/aclocal/ppc.m4 @ a3f91c6

4.104.114.84.9
Last change on this file since a3f91c6 was a3f91c6, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 16, 2005 at 10:05:22 AM

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
8AC_DEFUN([RTEMS_PPC_EXCEPTIONS],
9[
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])
21])
Note: See TracBrowser for help on using the repository browser.