source: rtems/configure.ac @ 5f5f681

4.104.115
Last change on this file since 5f5f681 was 7d10416, checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/01/08 at 05:07:58

s/AC_HELP/AS_HELP/.

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[66387986]1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
[6f9c75c3]4
[756c9ba]5AC_PREREQ(2.60)
[fcb0cd46]6AC_INIT([rtems],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
[e712997]7AC_CONFIG_SRCDIR([c])
[ba748523]8RTEMS_TOP([.])
[254b4450]9
[df49c60]10# Abort if trying to build inside of the source tree.
[bcf4d5bc]11AS_IF([test -f aclocal/version.m4],[
[df49c60]12  rm -f config.cache config.log confdefs.h
13  AC_MSG_ERROR([***]
14    [Attempt to build inside of the source tree]
15    [Please use a separate build directory, instead] )
[bcf4d5bc]16])
[df49c60]17
[e712997]18AC_CANONICAL_TARGET([])
[756c9ba]19AM_INIT_AUTOMAKE([no-define foreign dist-bzip2 no-dist-gzip 1.10])
[6693a68]20AM_MAINTAINER_MODE
[04c308c]21
[66387986]22## These option are only in here to let --help report all supported
23## options.
[04c308c]24RTEMS_ENABLE_MULTIPROCESSING
25RTEMS_ENABLE_POSIX
[c73b8ac2]26RTEMS_ENABLE_ITRON
[04c308c]27RTEMS_ENABLE_NETWORKING
28RTEMS_ENABLE_CXX
[3174a7ed]29RTEMS_ENABLE_TESTS 
[39607984]30RTEMS_ENABLE_RTEMS_DEBUG
[9078e097]31RTEMS_ENABLE_RTEMSBSP
[ba748523]32RTEMS_ENABLE_MULTILIB
[48ad47cc]33
[003d4da]34AC_ARG_ENABLE([docs],
[7d10416]35  [AS_HELP_STRING([--enable-docs],[enable building documentation
[003d4da]36    (default:disabled)])])
37
[48ad47cc]38## NOTES:
39## * tools/build are host-native tools to be installed on the host.
40## * tools/cpu are host-native or host-cross-target-tools
[872cc62]41
[0b22af6]42RTEMS_BUILD_CONFIG_SUBDIRS([tools/build])
43RTEMS_BUILD_CONFIG_SUBDIRS([tools/cpu])
[3174a7ed]44
[6f5b510]45case $enable_tests in
46yes | samples )
47  RTEMS_BUILD_CONFIG_SUBDIRS([testsuites/tools])
48  ;;
49esac
50
[0b22af6]51# Some BSPs carelessly apply these tools as build-tools
52AS_IF([test $host != $build],[
[ba748523]53RTEMS_HOST_CONFIG_SUBDIRS([tools/build])
[0b22af6]54])
[3174a7ed]55
[003d4da]56AS_IF([test x"${enable_docs}" = x"yes"],
[7a928017]57  [RTEMS_BUILD_CONFIG_SUBDIRS([doc])])
[003d4da]58
[be3e0f7]59AS_IF([test x"$enable_multilib" = x"yes"],[
60  RTEMS_TARGET_CONFIG_SUBDIRS([cpukit])
[6f6cde6f]61])
[ba748523]62RTEMS_TARGET_CONFIG_SUBDIRS([c])
[254b4450]63
[e712997]64AC_CONFIG_FILES([Makefile
[6693a68]65make/Makefile
[003d4da]66])
[6693a68]67
[ba748523]68AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.