source: rtems-schedsim/configure.ac @ 9077d3c

Last change on this file since 9077d3c was abb18dc, checked in by Joel Sherrill <joel.sherrill@…>, on 04/25/11 at 15:53:10

Initial import.

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[abb18dc]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
32
33AC_ARG_ENABLE([docs],
34  [AS_HELP_STRING([--enable-docs],[enable building documentation
35    (default:disabled)])])
36
37RTEMS_ENABLE_RTEMSDIR
38if test X"${rtems_srcdir}" = "X" ; then
39  AC_MSG_ERROR([RTEMS Source Directory Not Specified])
40fi
41if test ! -d ${rtems_srcdir}; then
42  AC_MSG_ERROR([RTEMS Source Directory ${rtems_srcdir} Does Not Exist])
43fi
44if test ! -d ${rtems_srcdir}/cpukit; then
45  AC_MSG_ERROR([RTEMS Source Directory ${rtems_srcdir}/cpukit Does Not Exist])
46fi
47
48RTEMS_BUILD_CONFIG_SUBDIRS([schedsim])
49
50AC_SUBST(rtems_srcdir)
51
52#AS_IF([test x"${enable_docs}" = x"yes"],
53#  [RTEMS_BUILD_CONFIG_SUBDIRS([doc])])
54
55AC_CONFIG_FILES([Makefile])
56
57AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.