forked from Imagelibrary/rtems
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:
@@ -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:
|
||||
|
||||
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user