source: rtems/configure.in @ aec4888

4.104.114.84.95
Last change on this file since aec4888 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 15:00:15

Merged from 4.5.0-beta3a

  • 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
36
37RTEMS_CHECK_CPU
38RTEMS_CANONICAL_HOST
39
40AC_CONFIG_SUBDIRS(tools/build)
41AC_CONFIG_SUBDIRS(tools/update)
42AC_CONFIG_SUBDIRS(tools/cpu)
43
44# List all subdirectories to be compiled for the target here
45RTEMS_CONFIG_SUBDIRS(c)
46
47if test "$target_alias" != "$host_alias"; then
48changequote(,)dnl
49TARGET_SUBDIRS=`echo "$target_subdirs" | \
50 sed -e "s%\([a-zA-Z0-9][a-zA-Z0-9]*\)%${target_alias}/\1%g"`
51changequote([,])dnl
52else
53TARGET_SUBDIRS="$target_subdirs"
54fi
55AC_SUBST(TARGET_SUBDIRS)
56
57# Explicitly list all Makefiles here
58AC_OUTPUT(
59Makefile
60tools/Makefile
61make/Makefile
62make/custom/Makefile
63make/Templates/Makefile
64make/compilers/Makefile
65doc/Makefile)
66
67RTEMS_OUTPUT_SUBDIRS(RTEMS_TGT_SUBDIRS)
Note: See TracBrowser for help on using the repository browser.