OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [posix/] [configure.in] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
dnl Process this file with autoconf to produce a configure script.
2
dnl
3
dnl $Id: configure.in,v 1.2 2001-09-27 11:59:13 chris Exp $
4
 
5
AC_PREREQ(2.13)
6
AC_INIT(optman)
7
RTEMS_TOP(../../../..)
8
AC_CONFIG_AUX_DIR(../../../..)
9
 
10
RTEMS_CANONICAL_TARGET_CPU
11
 
12
AM_INIT_AUTOMAKE(rtems-c-src-exec-posix,$RTEMS_VERSION,no)
13
AM_MAINTAINER_MODE
14
 
15
RTEMS_ENABLE_MULTIPROCESSING
16
RTEMS_ENABLE_POSIX
17
RTEMS_ENABLE_INLINES
18
 
19
RTEMS_ENV_RTEMSBSP
20
 
21
RTEMS_CHECK_CPU
22
RTEMS_CANONICAL_HOST
23
 
24
RTEMS_PROJECT_ROOT
25
 
26
RTEMS_PROG_CC_FOR_TARGET
27
RTEMS_CANONICALIZE_TOOLS
28
 
29
# Check if there is custom/*.cfg for this BSP
30
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
31
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
32
RTEMS_CHECK_POSIX_API(RTEMS_BSP)
33
 
34
# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
35
if test "$RTEMS_USE_MACROS" = "yes"; then
36
  INLINEdir="macros"
37
  if test "$HAS_POSIX_API" = "yes"; then
38
    # The problem is that there is currently no code in posix/macros :)
39
    AC_MSG_ERROR(Macros are not implemented for the POSIX API)
40
  fi
41
else
42
  INLINEdir="inline"
43
fi
44
AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
45
AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
46
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
47
 
48
## Needed when using automake for libs/rels
49
RTEMS_CHECK_NEWLIB
50
 
51
## Refuse to build if bsp does not support libposix
52
if test "$HAS_POSIX_API" != "yes"; then
53
AC_MSG_ERROR([BSP $RTEMS_BSP does not support libposix])
54
fi
55
 
56
# If RTEMS macros are enabled, then use them.  Otherwise, refuse to build
57
if test "$RTEMS_USE_MACROS" = "yes"; then
58
# The problem is that there is currently no code in posix/macros :)
59
AC_MSG_ERROR(Macros are not implemented for the POSIX API)
60
fi
61
 
62
##
63
## FIXME: We configure and build the macros subdirectory, too.
64
## Should probably use AM_CONDITIONALs to disable them in future
65
# Explicitly list all Makefiles here
66
AC_OUTPUT(
67
Makefile
68
src/Makefile
69
include/Makefile
70
include/sys/Makefile
71
include/rtems/Makefile
72
include/rtems/posix/Makefile
73
optman/Makefile
74
inline/Makefile
75
inline/rtems/Makefile
76
inline/rtems/posix/Makefile
77
macros/Makefile
78
macros/rtems/Makefile
79
macros/rtems/posix/Makefile
80
)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.