source: rtems/c/src/exec/score/cpu/unix/configure.ac @ 6f79a970

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
5AC_PREREQ(2.52)
6AC_INIT([rtems-c-src-exec-score-cpu-unix],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
7AC_CONFIG_SRCDIR([cpu.c])
8RTEMS_TOP(../../../../../..)
9AC_CONFIG_AUX_DIR(../../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12
13AM_INIT_AUTOMAKE([no-define foreign 1.6])
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
25AC_PROG_RANLIB
26
27RTEMS_CHECK_NEWLIB
28RTEMS_CHECK_MULTIPROCESSING
29
30# The only use of System V IPC is the UNIX port when multiprocessing.
31AS_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.
37AC_CHECK_SIZEOF([CPU_CONTEXT],[],[
38#include <stdio.h>
39#include <setjmp.h>
40
41typedef struct {
42  jmp_buf     regs;
43  int         isr_level;
44  int         pad[4]; /* just in case */
45} CPU_CONTEXT;
46])
47
48AM_CONFIG_HEADER(rtems/score/unixsize.h)
49
50# Explicitly list all Makefiles here
51AC_CONFIG_FILES([Makefile])
52AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.