source: rtems-schedsim/configure.ac @ 23f57af

Last change on this file since 23f57af was 23f57af, checked in by Joel Sherrill <joel.sherrill@…>, on May 17, 2011 at 7:31:33 PM

2011-05-17 Joel Sherrill <joel.sherrill@…>

  • configure.ac, aclocal/enable-smp.m4: Merge and update code. Simulators for Deterministic Priority and SMP Simple Schedulers now work.
  • .cvsignore: New file.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ([2.68])
6AC_INIT([rtems],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
7AC_CONFIG_SRCDIR([schedsim])
8RTEMS_TOP([.])
9
10# Abort if trying to build inside of the source tree.
11AS_IF([test -f aclocal/version.m4],[
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] )
16])
17
18AC_CANONICAL_TARGET([])
19AM_INIT_AUTOMAKE([no-define foreign dist-bzip2 no-dist-gzip 1.11.1])
20AM_MAINTAINER_MODE
21
22## These option are only in here to let --help report all supported
23## options.
24RTEMS_ENABLE_MULTIPROCESSING
25RTEMS_ENABLE_POSIX
26RTEMS_ENABLE_NETWORKING
27RTEMS_ENABLE_CXX
28RTEMS_ENABLE_TESTS 
29RTEMS_ENABLE_RTEMS_DEBUG
30RTEMS_ENABLE_RTEMSBSP
31RTEMS_ENABLE_MULTILIB
32RTEMS_ENABLE_SMP
33
34AC_ARG_ENABLE([docs],
35  [AS_HELP_STRING([--enable-docs],[enable building documentation
36    (default:disabled)])])
37
38RTEMS_ENABLE_RTEMSDIR
39if test X"${rtems_srcdir}" = "X" ; then
40  AC_MSG_ERROR([RTEMS Source Directory Not Specified])
41fi
42if test ! -d ${rtems_srcdir}; then
43  AC_MSG_ERROR([RTEMS Source Directory ${rtems_srcdir} Does Not Exist])
44fi
45if test ! -d ${rtems_srcdir}/cpukit; then
46  AC_MSG_ERROR([RTEMS Source Directory ${rtems_srcdir}/cpukit Does Not Exist])
47fi
48
49RTEMS_BUILD_CONFIG_SUBDIRS([schedsim])
50
51AC_SUBST(rtems_srcdir)
52
53#AS_IF([test x"${enable_docs}" = x"yes"],
54#  [RTEMS_BUILD_CONFIG_SUBDIRS([doc])])
55
56AC_CONFIG_FILES([Makefile])
57
58AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.