source: rtems/cpukit/score/cpu/unix/configure.ac @ afb802cd

4.104.114.84.95
Last change on this file since afb802cd was afb802cd, checked in by Joel Sherrill <joel.sherrill@…>, on 02/13/02 at 14:29:42

2002-02-13 Ralf Corsepius <corsepiu@…>

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