Ignore:
Timestamp:
Feb 12, 2005, 2:21:47 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5133bd6
Parents:
c97f5fd
Message:

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

  • configure.ac: subdir-objects. Add compiler check for old/new-style exception processing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/configure.ac

    rc97f5fd r20ad4755  
    1010RTEMS_CANONICAL_TARGET_CPU
    1111
    12 AM_INIT_AUTOMAKE([no-define foreign 1.9])
     12AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.9])
    1313AM_MAINTAINER_MODE
    1414
     
    1818
    1919RTEMS_PROG_CC_FOR_TARGET
     20AM_PROG_CC_C_O
    2021RTEMS_CANONICALIZE_TOOLS
    2122RTEMS_PROG_CCAS
     23
     24AC_MSG_CHECKING([for style of powerpc exceptions])
     25AC_COMPILE_IFELSE(
     26  [AC_LANG_PROGRAM(
     27    [],
     28    [#if defined(_OLD_EXCEPTIONS)
     29     choke me
     30     #endif])],
     31  [EXCEPTIONS=new],
     32  [EXCEPTIONS=old])
     33AC_MSG_RESULT([$EXCEPTIONS])
     34AM_CONDITIONAL([OLD_EXCEPTIONS],[test "$EXCEPTIONS" = old])
    2235
    2336AM_CONDITIONAL(shared, \
Note: See TracChangeset for help on using the changeset viewer.