source: rtems/cpukit/posix/configure.ac @ a85d8ec

4.104.114.84.95
Last change on this file since a85d8ec was 705a0701, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/05/02 at 15:55:09

2002-07-05 Ralf Corsepius <corsepiu@…>

  • configure.ac: RTEMS_TOP(../..).
  • Property mode set to 100644
File size: 1.2 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_PROG_CC_FOR_TARGET([-ansi -fasm])
25RTEMS_CANONICALIZE_TOOLS
26AC_PROG_RANLIB
27
28RTEMS_CHECK_MULTIPROCESSING
29RTEMS_CHECK_POSIX_API
30
31# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
32if test "$RTEMS_USE_MACROS" = "yes"; then
33  INLINEdir="macros"
34else
35  INLINEdir="inline"
36fi
37AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
38AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
39AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
40
41## Needed when using automake for libs/rels
42RTEMS_CHECK_NEWLIB
43
44## Refuse to build if bsp does not support libposix
45if test "$HAS_POSIX_API" != "yes"; then
46AC_MSG_ERROR([libposix is not supported by this configuration])
47fi
48
49AM_CONFIG_HEADER(src/config.h)
50
51# Explicitly list all Makefiles here
52AC_CONFIG_FILES([Makefile
53src/Makefile
54include/Makefile
55inline/Makefile
56macros/Makefile
57])
58AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.