4.104.114.84.95
Last change
on this file since ed4b894 was
ed4b894,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/21/03 at 15:17:21
|
2003-10-21 Ralf Corsepius <corsepiu@…>
- aclocal/check-posix.m4: Add m4-quotes.
Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
- aclocal/canonical-host.m4: Remove.
- configure.ac: Remove RTEMS_CANONICAL_HOST.
- aclocal/sysv-ipc.m4: Remove reference to RTEMS_CANONICAL_HOST.
- aclocal/canonical-target-name.m4: Use AC_CANONICAL_HOST instead of
AC_CANONICAL_TARGET. Use $host instead of $target.
|
-
Property mode set to
100644
|
File size:
950 bytes
|
Line | |
---|
1 | dnl |
---|
2 | dnl $Id$ |
---|
3 | dnl |
---|
4 | |
---|
5 | dnl canonicalize target cpu |
---|
6 | dnl NOTE: Most rtems targets do not fullfil autoconf's |
---|
7 | dnl target naming conventions "processor-vendor-os" |
---|
8 | dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them |
---|
9 | dnl and we have to fix it for rtems ourselves |
---|
10 | |
---|
11 | AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU], |
---|
12 | [ |
---|
13 | AC_CANONICAL_HOST |
---|
14 | AC_MSG_CHECKING(rtems target cpu) |
---|
15 | case "${host}" in |
---|
16 | # hpux unix port should go here |
---|
17 | i[[34567]]86-*linux*) # unix "simulator" port |
---|
18 | RTEMS_CPU=unix |
---|
19 | ;; |
---|
20 | i[[34567]]86-*freebsd*) # unix "simulator" port |
---|
21 | RTEMS_CPU=unix |
---|
22 | ;; |
---|
23 | i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :) |
---|
24 | RTEMS_CPU=unix |
---|
25 | ;; |
---|
26 | no_cpu-*rtems*) |
---|
27 | RTEMS_CPU=no_cpu |
---|
28 | ;; |
---|
29 | sparc-sun-solaris*) # unix "simulator" port |
---|
30 | RTEMS_CPU=unix |
---|
31 | ;; |
---|
32 | tic4x-*rtems*) # gcc changed the name |
---|
33 | RTEMS_CPU=c4x |
---|
34 | ;; |
---|
35 | *) |
---|
36 | RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'` |
---|
37 | ;; |
---|
38 | esac |
---|
39 | AC_SUBST(RTEMS_CPU) |
---|
40 | AC_MSG_RESULT($RTEMS_CPU) |
---|
41 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.