4.104.114.84.95
Last change
on this file since 6f79a970 was
6f79a970,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/27/02 at 03:59:59
|
2002-06-27 Ralf Corsepius <corsepiu@…>
- configure.ac: Use AC_CONFIG_AUX_DIR(../../../..).
Add AC_PROG_RANLIB.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | ## |
---|
3 | ## $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.52) |
---|
6 | AC_INIT([rtems-c-src-exec-score-cpu-unix],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com]) |
---|
7 | AC_CONFIG_SRCDIR([cpu.c]) |
---|
8 | RTEMS_TOP(../../../../../..) |
---|
9 | AC_CONFIG_AUX_DIR(../../../..) |
---|
10 | |
---|
11 | RTEMS_CANONICAL_TARGET_CPU |
---|
12 | |
---|
13 | AM_INIT_AUTOMAKE([no-define foreign 1.6]) |
---|
14 | AM_MAINTAINER_MODE |
---|
15 | |
---|
16 | RTEMS_ENV_RTEMSCPU |
---|
17 | |
---|
18 | RTEMS_CHECK_CPU |
---|
19 | RTEMS_CANONICAL_HOST |
---|
20 | |
---|
21 | RTEMS_PROJECT_ROOT |
---|
22 | |
---|
23 | RTEMS_PROG_CC_FOR_TARGET |
---|
24 | RTEMS_CANONICALIZE_TOOLS |
---|
25 | AC_PROG_RANLIB |
---|
26 | |
---|
27 | RTEMS_CHECK_NEWLIB |
---|
28 | RTEMS_CHECK_MULTIPROCESSING |
---|
29 | |
---|
30 | # The only use of System V IPC is the UNIX port when multiprocessing. |
---|
31 | AS_IF([test "$HAS_MP" = "yes"], |
---|
32 | [RTEMS_CHECK_SYSV_UNIX]) |
---|
33 | |
---|
34 | ## The code fragment below had been used in tools/cpu/unix/gensize.c. |
---|
35 | ## FIXME: |
---|
36 | ## * The pad very likely is not necessary. |
---|
37 | AC_CHECK_SIZEOF([CPU_CONTEXT],[],[ |
---|
38 | #include <stdio.h> |
---|
39 | #include <setjmp.h> |
---|
40 | |
---|
41 | typedef struct { |
---|
42 | jmp_buf regs; |
---|
43 | int isr_level; |
---|
44 | int pad[4]; /* just in case */ |
---|
45 | } CPU_CONTEXT; |
---|
46 | ]) |
---|
47 | |
---|
48 | AM_CONFIG_HEADER(rtems/score/unixsize.h) |
---|
49 | |
---|
50 | # Explicitly list all Makefiles here |
---|
51 | AC_CONFIG_FILES([Makefile]) |
---|
52 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.