source: rtems/cpukit/posix/configure.ac @ 1b074a1

4.104.114.84.95
Last change on this file since 1b074a1 was 58c3d04e, checked in by Joel Sherrill <joel.sherrill@…>, on 03/28/02 at 00:45:34

2002-03-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • src/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • include/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[66387986]1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
[e1d8abb]4
[66387986]5AC_PREREQ(2.52)
[58c3d04e]6AC_INIT([rtems-c-src-exec-posix],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
[7d9ec2d]7AC_CONFIG_SRCDIR([src/pthread.c])
[e1d8abb]8RTEMS_TOP(../../../..)
9AC_CONFIG_AUX_DIR(../../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12
[58c3d04e]13AM_INIT_AUTOMAKE([no-define foreign 1.6])
[e1d8abb]14AM_MAINTAINER_MODE
15
16RTEMS_ENABLE_POSIX
17RTEMS_ENABLE_INLINES
18
[04e6f7bf]19RTEMS_ENV_RTEMSCPU
[e1d8abb]20
21RTEMS_CHECK_CPU
22RTEMS_CANONICAL_HOST
23
24RTEMS_PROJECT_ROOT
25
[53c3a2c6]26RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
[e1d8abb]27RTEMS_CANONICALIZE_TOOLS
28
29RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
30RTEMS_CHECK_POSIX_API(RTEMS_BSP)
31
32# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
33if test "$RTEMS_USE_MACROS" = "yes"; then
34  INLINEdir="macros"
35else
36  INLINEdir="inline"
37fi
38AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
39AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
[9608320]40AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
[e1d8abb]41
42## Needed when using automake for libs/rels
43RTEMS_CHECK_NEWLIB
44
45## Refuse to build if bsp does not support libposix
46if test "$HAS_POSIX_API" != "yes"; then
47AC_MSG_ERROR([BSP $RTEMS_BSP does not support libposix])
48fi
49
[f42b726]50AM_CONFIG_HEADER(src/config.h)
51
[70810dc]52# Explicitly list all Makefiles here
[66387986]53AC_CONFIG_FILES([Makefile
[e1d8abb]54src/Makefile
55include/Makefile
56inline/Makefile
57macros/Makefile
[66387986]58])
59AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.