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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [configure.ac] - Blame information for rev 1779

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
## Process this file with autoconf to produce a configure script.
2
##
3
## configure.ac,v 1.10 2002/07/22 06:01:31 ralf Exp
4
 
5
AC_PREREQ(2.52)
6
AC_INIT([rtems-c-src],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
7
AC_CONFIG_SRCDIR([optman])
8
RTEMS_TOP(../..)
9
AC_CONFIG_AUX_DIR(../..)
10
 
11
RTEMS_ENABLE_CXX
12
RTEMS_ENABLE_NETWORKING
13
RTEMS_ENABLE_RDBG
14
 
15
RTEMS_CANONICAL_TARGET_CPU
16
RTEMS_CANONICAL_HOST
17
 
18
AM_INIT_AUTOMAKE([no-define foreign 1.6])
19
AM_MAINTAINER_MODE
20
 
21
RTEMS_ENABLE_MULTILIB
22
RTEMS_ENABLE_MULTIPROCESSING
23
RTEMS_ENV_RTEMSBSP
24
RTEMS_CHECK_CPU
25
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
26
 
27
RTEMS_CHECK_NETWORKING(RTEMS_BSP)
28
 
29
## Note: the order of the directories below is essential
30
AC_CONFIG_SUBDIRS([make])
31
 
32
## Configure ${srcdir}/../../cpukit as exec/ if multilibs are enabled
33
AS_IF([test x"$multilib" = x"no"],[
34
  RTEMS_CHECK_MULTIPROCESSING
35
  RTEMS_CONFIG_SUBDIR([exec],[../../cpukit],[--with-project-root="../../"])
36
  AC_SUBST([exec],[exec])
37
])
38
 
39
AC_CONFIG_SUBDIRS(optman)
40
AC_CONFIG_SUBDIRS(lib/libcpu)
41
AC_CONFIG_SUBDIRS(lib/libbsp)
42
AC_CONFIG_SUBDIRS(libmisc)
43
 
44
AS_IF([test "$RTEMS_CPU" != "unix"],[
45
## HACK: Suppress libchip for unix
46
  AC_CONFIG_SUBDIRS(libchip)
47
])
48
 
49
if test "$HAS_NETWORKING" = "yes"; then
50
  AC_CONFIG_SUBDIRS(libnetworking)
51
  if test "$RTEMS_HAS_RDBG" = "yes"; then
52
    RTEMS_CHECK_RDBG(RTEMS_BSP)
53
  fi
54
fi
55
 
56
if test "$HAS_RDBG" = "yes"; then
57
  AC_CONFIG_SUBDIRS(librdbg)
58
fi
59
AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
60
AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
61
 
62
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
63
  AC_CONFIG_SUBDIRS(librtems++)
64
fi
65
 
66
AC_CONFIG_SUBDIRS(wrapup tests)
67
 
68
RTEMS_PROJECT_ROOT
69
 
70
# Explicitly list all Makefiles here
71
AC_CONFIG_FILES([Makefile])
72
AC_OUTPUT

powered by: WebSVN 2.1.0

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