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

* configure.ac: subdir-objects.
	Add compiler check for old/new-style exception processing.
This commit is contained in:
Ralf Corsepius
2005-02-12 02:21:47 +00:00
parent c97f5fd759
commit 20ad475567
2 changed files with 19 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2005-02-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: subdir-objects.
Add compiler check for old/new-style exception processing.
2005-02-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* mpc8260/cpm/dpram.c, mpc8xx/cpm/dpram.c:

View File

@@ -9,7 +9,7 @@ RTEMS_TOP([../../../../..],[../../..])
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE([no-define foreign 1.9])
AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.9])
AM_MAINTAINER_MODE
RTEMS_ENV_RTEMSBSP
@@ -17,9 +17,22 @@ RTEMS_ENV_RTEMSBSP
RTEMS_PROJECT_ROOT
RTEMS_PROG_CC_FOR_TARGET
AM_PROG_CC_C_O
RTEMS_CANONICALIZE_TOOLS
RTEMS_PROG_CCAS
AC_MSG_CHECKING([for style of powerpc exceptions])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
[],
[#if defined(_OLD_EXCEPTIONS)
choke me
#endif])],
[EXCEPTIONS=new],
[EXCEPTIONS=old])
AC_MSG_RESULT([$EXCEPTIONS])
AM_CONDITIONAL([OLD_EXCEPTIONS],[test "$EXCEPTIONS" = old])
AM_CONDITIONAL(shared, \
test "$RTEMS_CPU_MODEL" = "mpc750" \
|| test "$RTEMS_CPU_MODEL" = "mpc7400" \