source: rtems/c/src/exec/posix/configure.ac @ 6ba9c27

4.104.114.84.95
Last change on this file since 6ba9c27 was da8f88a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/27/02 at 04:00:20

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.3 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-posix],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
7AC_CONFIG_SRCDIR([src/pthread.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_ENABLE_POSIX
17RTEMS_ENABLE_INLINES
18
19RTEMS_ENV_RTEMSCPU
20
21RTEMS_CHECK_CPU
22RTEMS_CANONICAL_HOST
23
24RTEMS_PROJECT_ROOT
25
26RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
27RTEMS_CANONICALIZE_TOOLS
28AC_PROG_RANLIB
29
30RTEMS_CHECK_MULTIPROCESSING
31RTEMS_CHECK_POSIX_API
32
33# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
34if test "$RTEMS_USE_MACROS" = "yes"; then
35  INLINEdir="macros"
36else
37  INLINEdir="inline"
38fi
39AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
40AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
41AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
42
43## Needed when using automake for libs/rels
44RTEMS_CHECK_NEWLIB
45
46## Refuse to build if bsp does not support libposix
47if test "$HAS_POSIX_API" != "yes"; then
48AC_MSG_ERROR([libposix is not supported by this configuration])
49fi
50
51AM_CONFIG_HEADER(src/config.h)
52
53# Explicitly list all Makefiles here
54AC_CONFIG_FILES([Makefile
55src/Makefile
56include/Makefile
57inline/Makefile
58macros/Makefile
59])
60AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.