source: rtems/configure.in @ c34eb10

Last change on this file since c34eb10 was c34eb10, checked in by Joel Sherrill <joel.sherrill@…>, on 04/03/00 at 20:01:31

Patch rtems-rc-4.5.0-7-cvs.diff from Ralf Corsepius <corsepiu@…>.
The patch contains:

  • Many small cleanups wrt. make VARIANT=[DEBUG|PROFILE] support
  • several modifications to make/custom/*.cfg
  • Merger with the mvme2307.cfg you had posted two weeks ago (Please check it, I did not check it against to version you posted today).
  • Added a check to the toplevel configure.in to refuse building inside of the source tree.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl  $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(c)
7RTEMS_TOP(.)
8
9# Abort if trying to build inside of the source tree.
10if test -f VERSION; then
11  rm -f config.cache config.log confdefs.h
12  AC_MSG_ERROR([***]
13    [Attempt to build inside of the source tree]
14    [Please use a separate build directory, instead] )
15fi
16
17RTEMS_CANONICAL_TARGET_CPU
18AM_INIT_AUTOMAKE(rtems,$RTEMS_VERSION,no)
19AM_MAINTAINER_MODE
20
21dnl RTEMS_ENABLE_BARE
22dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp)
23
24dnl These option are only in here to let --help report all supported
25dnl options.
26RTEMS_ENABLE_MULTIPROCESSING
27RTEMS_ENABLE_POSIX
28RTEMS_ENABLE_ITRON
29RTEMS_ENABLE_NETWORKING
30RTEMS_ENABLE_RDBG
31RTEMS_ENABLE_INLINES
32RTEMS_ENABLE_CXX
33RTEMS_ENABLE_GCC28
34RTEMS_ENABLE_LIBCDIR
35RTEMS_ENABLE_TESTS
36RTEMS_ENABLE_HWAPI
37
38RTEMS_CHECK_CPU
39RTEMS_CANONICAL_HOST
40
41AC_CONFIG_SUBDIRS(tools/build)
42AC_CONFIG_SUBDIRS(tools/update)
43AC_CONFIG_SUBDIRS(tools/cpu)
44
45# List all subdirectories to be compiled for the target here
46RTEMS_CONFIG_SUBDIRS(c)
47
48if test "$target_alias" != "$host_alias"; then
49changequote(,)dnl
50TARGET_SUBDIRS=`echo "$target_subdirs" | \
51 sed -e "s%\([^ ]\+\)%$target_alias/\1%g"`
52changequote([,])dnl
53else
54TARGET_SUBDIRS="$target_subdirs"
55fi
56AC_SUBST(TARGET_SUBDIRS)
57
58# Explicitly list all Makefiles here
59AC_OUTPUT(
60Makefile
61tools/Makefile
62make/Makefile
63make/custom/Makefile
64make/Templates/Makefile
65make/compilers/Makefile
66doc/Makefile)
67
68RTEMS_OUTPUT_SUBDIRS(RTEMS_TGT_SUBDIRS)
Note: See TracBrowser for help on using the repository browser.