source: rtems/c/src/exec/configure.in @ c935c5f

4.104.114.84.95
Last change on this file since c935c5f was 3a8915e, checked in by Joel Sherrill <joel.sherrill@…>, on 08/06/99 at 17:55:25

Patch rtems-rc-19990709-6-diff from Ralf Corsepius <corsepiu@…>
applied. This modified many Makefiles and custom files and makes many more
settings (network, multiprocessing, etc) gnerated by autoconf.

  • Property mode set to 100644
File size: 3.0 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl  $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(score)
7RTEMS_TOP(../../..)
8AC_CONFIG_AUX_DIR(../../..)
9
10AC_PROG_MAKE_SET
11RTEMS_CANONICAL_TARGET_CPU
12
13AM_MAINTAINER_MODE
14RTEMS_ENABLE_MULTIPROCESSING
15RTEMS_ENABLE_POSIX
16RTEMS_ENABLE_NETWORKING
17RTEMS_ENABLE_INLINES
18RTEMS_ENABLE_CXX
19RTEMS_ENABLE_GCC28
20RTEMS_ENABLE_LIBCDIR
21
22RTEMS_ENV_RTEMSBSP
23
24AC_PROG_LN_S
25AC_PROG_INSTALL
26RTEMS_PATH_KSH
27
28RTEMS_CHECK_CPU
29RTEMS_CANONICAL_HOST
30
31RTEMS_PROJECT_ROOT
32
33dnl check target cc
34RTEMS_PROG_CC_FOR_TARGET
35
36RTEMS_CANONICALIZE_TOOLS
37
38dnl if this is an i386, does gas have good code16 support?
39RTEMS_I386_GAS_CODE16
40
41RTEMS_CHECK_SYSV_UNIX
42
43RTEMS_CHECK_NEWLIB
44
45# Check if there is custom/*.cfg for this BSP
46RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
47RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
48RTEMS_CHECK_POSIX_API(RTEMS_BSP)
49
50# find all the Executive Makefiles
51RTEMS_CHECK_MAKEFILE(score/cpu/$RTEMS_CPU)
52
53# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
54if test "$RTEMS_USE_MACROS" = "yes"; then
55  inline_dir="macros"
56  if test "$HAS_POSIX_API" = "yes"; then
57    # The problem is that there is currently no code in posix/macros :)
58    AC_MSG_ERROR(Macros are not implemented for the POSIX API)
59  fi
60else
61  inline_dir="inline"
62fi
63
64if test "$HAS_POSIX_API" = "yes"; then
65  makefiles="$makefiles posix/Makefile"
66  makefiles="$makefiles posix/src/Makefile"
67  makefiles="$makefiles posix/include/Makefile"
68  makefiles="$makefiles posix/include/sys/Makefile"
69  makefiles="$makefiles posix/include/rtems/Makefile"
70  makefiles="$makefiles posix/include/rtems/posix/Makefile"
71  makefiles="$makefiles posix/include/wrap/Makefile"
72  makefiles="$makefiles posix/optman/Makefile"
73  makefiles="$makefiles wrapup/posix/Makefile"
74
75  makefiles="$makefiles posix/${inline_dir}/Makefile"
76  makefiles="$makefiles posix/${inline_dir}/rtems/Makefile"
77  makefiles="$makefiles posix/${inline_dir}/rtems/posix/Makefile"
78fi
79
80AC_SUBST(RTEMS_VERSION)
81
82AC_SUBST(rtems_cv_prog_cc_cross)
83AC_SUBST(RTEMS_USE_GCC272)
84AC_SUBST(program_prefix)
85AC_SUBST(CC_CFLAGS_DEFAULT)
86AC_SUBST(CC_CFLAGS_DEBUG_V)
87AC_SUBST(CC_CFLAGS_PROFILE_V)
88AC_SUBST(CC_LDFLAGS_PROFILE_V)
89
90# Try to explicitly list a Makefile here
91AC_OUTPUT(
92Makefile
93rtems/Makefile
94rtems/src/Makefile
95rtems/include/Makefile
96rtems/include/wrap/Makefile
97rtems/include/rtems/Makefile
98rtems/include/rtems/rtems/Makefile
99rtems/optman/Makefile
100rtems/${inline_dir}/Makefile
101rtems/${inline_dir}/rtems/Makefile
102rtems/${inline_dir}/rtems/rtems/Makefile
103sapi/Makefile
104sapi/src/Makefile
105sapi/include/Makefile
106sapi/include/wrap/Makefile
107sapi/include/rtems/Makefile
108sapi/include/rtems/sptables.h
109sapi/${inline_dir}/Makefile
110sapi/${inline_dir}/rtems/Makefile
111sapi/optman/Makefile
112score/Makefile
113score/cpu/Makefile
114score/include/Makefile
115score/include/rtems/Makefile
116score/include/rtems/wrap/Makefile
117score/include/rtems/score/Makefile
118score/${inline_dir}/Makefile
119score/${inline_dir}/rtems/Makefile
120score/${inline_dir}/rtems/score/Makefile
121score/src/Makefile
122wrapup/Makefile
123wrapup/rtems/Makefile
124$makefiles
125)
Note: See TracBrowser for help on using the repository browser.