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

4.104.114.84.95
Last change on this file since a6abd67 was d60b3efa, checked in by Joel Sherrill <joel.sherrill@…>, on 10/31/00 at 21:17:06

2000-10-30 Ralf Corsepius <corsepiu@…>

  • configure.in: Cleanup comments.
  • bsp_specs: Add qnolinkcmds.
  • Property mode set to 100644
File size: 1.7 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"
34  if test "$HAS_POSIX_API" = "yes"; then
35    # The problem is that there is currently no code in posix/macros :)
36    AC_MSG_ERROR(Macros are not implemented for the POSIX API)
37  fi
38else
39  INLINEdir="inline"
40fi
41AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
42AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
43AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
44
45## Needed when using automake for libs/rels
46RTEMS_CHECK_NEWLIB
47
48## Refuse to build if bsp does not support libposix
49if test "$HAS_POSIX_API" != "yes"; then
50AC_MSG_ERROR([BSP $RTEMS_BSP does not support libposix])
51fi
52
53# If RTEMS macros are enabled, then use them.  Otherwise, refuse to build
54if test "$RTEMS_USE_MACROS" = "yes"; then
55# The problem is that there is currently no code in posix/macros :)
56AC_MSG_ERROR(Macros are not implemented for the POSIX API)
57fi
58
59# Explicitly list all Makefiles here
60AC_OUTPUT(
61Makefile
62src/Makefile
63include/Makefile
64include/sys/Makefile
65include/rtems/Makefile
66include/rtems/posix/Makefile
67optman/Makefile
68inline/Makefile
69inline/rtems/Makefile
70inline/rtems/posix/Makefile
71macros/Makefile
72macros/rtems/Makefile
73macros/rtems/posix/Makefile
74)
Note: See TracBrowser for help on using the repository browser.