source: rtems/c/src/exec/posix/configure.in @ 2b2bda4

4.104.114.84.95
Last change on this file since 2b2bda4 was 2b2bda4, checked in by Joel Sherrill <joel.sherrill@…>, on 12/01/00 at 18:57:36

2000-12-01 Joel Sherrill <joel@…>

  • Added macro support to POSIX API. This is known to compile.
  • macros/rtems/posix/cond.inl, macros/rtems/posix/intr.inl, macros/rtems/posix/key.inl, macros/rtems/posix/mqueue.inl, macros/rtems/posix/mutex.inl, macros/rtems/posix/priority.inl, macros/rtems/posix/pthread.inl, macros/rtems/posix/semaphore.inl, macros/rtems/posix/timer.inl: New files.
  • configure.in: Removed error check for enabling macros.
  • rtems/posix/mutex.h: #if 0'ed out prototypes for inlined routines since you cannot have prototypes for macros.
  • macros/rtems/posix/Makefile.am: Added files.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(optman)
7RTEMS_TOP(../../../..)
8AC_CONFIG_AUX_DIR(../../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE(rtems-c-src-exec-posix,$RTEMS_VERSION,no)
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_POSIX
16RTEMS_ENABLE_INLINES
17
18RTEMS_ENV_RTEMSCPU
19
20RTEMS_CHECK_CPU
21RTEMS_CANONICAL_HOST
22
23RTEMS_PROJECT_ROOT
24
25RTEMS_PROG_CC_FOR_TARGET
26RTEMS_CANONICALIZE_TOOLS
27
28RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
29RTEMS_CHECK_POSIX_API(RTEMS_BSP)
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([BSP $RTEMS_BSP does not support libposix])
47fi
48
49# Explicitly list all Makefiles here
50AC_OUTPUT(
51Makefile
52src/Makefile
53include/Makefile
54include/sys/Makefile
55include/rtems/Makefile
56include/rtems/posix/Makefile
57optman/Makefile
58inline/Makefile
59inline/rtems/Makefile
60inline/rtems/posix/Makefile
61macros/Makefile
62macros/rtems/Makefile
63macros/rtems/posix/Makefile
64)
Note: See TracBrowser for help on using the repository browser.