source: rtems/c/src/lib/libcpu/powerpc/configure.ac @ fcb0cd46

4.104.114.84.9
Last change on this file since fcb0cd46 was fcb0cd46, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 2, 2006 at 6:06:55 AM

2006-12-02 Ralf Corsépius <ralf.corsepius@…>

  • configure.ac: New BUG-REPORT address.
  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[d7aecdc]1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
[11c60096]5AC_PREREQ(2.60)
[fcb0cd46]6AC_INIT([rtems-c-src-lib-libcpu-powerpc],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
[d7aecdc]7AC_CONFIG_SRCDIR([mpc6xx])
[fc235f44]8RTEMS_TOP([../../../../..],[../../..])
[d7aecdc]9
10RTEMS_CANONICAL_TARGET_CPU
11
[11c60096]12AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.10])
[d7aecdc]13AM_MAINTAINER_MODE
14
15RTEMS_ENV_RTEMSBSP
16
17RTEMS_PROJECT_ROOT
18
19RTEMS_PROG_CC_FOR_TARGET
[20ad4755]20AM_PROG_CC_C_O
[d7aecdc]21RTEMS_CANONICALIZE_TOOLS
[a6ebf56]22RTEMS_PROG_CCAS
[d7aecdc]23
[20ad4755]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])
35
[25f59b14]36AM_CONDITIONAL(shared, \
[8430205]37   test "$RTEMS_CPU_MODEL" = "mpc750" \
[0d776cd2]38|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
[e9aa9bb0]39|| test "$RTEMS_CPU_MODEL" = "mpc7455" \
[408bb71]40|| test "$RTEMS_CPU_MODEL" = "mpc7457" \
[8430205]41|| test "$RTEMS_CPU_MODEL" = "mpc555" \
42|| test "$RTEMS_CPU_MODEL" = "mpc5xx" \
[d7aecdc]43|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
44|| test "$RTEMS_CPU_MODEL" = "mpc604" \
45|| test "$RTEMS_CPU_MODEL" = "mpc6xx" \
46|| test "$RTEMS_CPU_MODEL" = "mpc821" \
47|| test "$RTEMS_CPU_MODEL" = "mpc860" \
[a84392d]48|| test "$RTEMS_CPU_MODEL" = "mpc8240" \
49|| test "$RTEMS_CPU_MODEL" = "mpc8245" \
[48694da]50|| test "$RTEMS_CPU_MODEL" = "mpc8260" \
[d7aecdc]51|| test "$RTEMS_CPU_MODEL" = "mpc8xx" )
52
53## test on CPU type
54AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505")
[8430205]55AM_CONDITIONAL(mpc5xx, test "$RTEMS_CPU_MODEL" = "mpc5xx" \
56|| test "$RTEMS_CPU_MODEL" = "mpc555" )
[d7aecdc]57AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
58|| test "$RTEMS_CPU_MODEL" = "mpc604" \
[0d776cd2]59|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
[e9aa9bb0]60|| test "$RTEMS_CPU_MODEL" = "mpc7455" \
[408bb71]61|| test "$RTEMS_CPU_MODEL" = "mpc7457" \
[a84392d]62|| test "$RTEMS_CPU_MODEL" = "mpc750" \
63|| test "$RTEMS_CPU_MODEL" = "mpc8240" \
64|| test "$RTEMS_CPU_MODEL" = "mpc8245" )
[d7aecdc]65AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
66|| test "$RTEMS_CPU_MODEL" = "mpc821" \
67|| test "$RTEMS_CPU_MODEL" = "mpc860" )
[48694da]68AM_CONDITIONAL(mpc8260, test "$RTEMS_CPU_MODEL" = "mpc8260")
[ba4eefd]69
70# the ppc405 shares files with the ppc403
71AM_CONDITIONAL(ppc403,[test "$RTEMS_CPU_MODEL" = "ppc403" \
72|| test "$RTEMS_CPU_MODEL" = "ppc405"])
[e9ae97fb]73AM_CONDITIONAL(ppc405, test "$RTEMS_CPU_MODEL" = "ppc405")
[d7aecdc]74
[4bee7d9c]75RTEMS_AMPOLISH3
[89c8d3fc]76
[d7aecdc]77# Explicitly list all Makefiles here
78AC_CONFIG_FILES([Makefile
[f439d61e]79])
[d7aecdc]80AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.