source: rtems-schedsim/configure.ac

Last change on this file was a2aad55, checked in by Joel Sherrill <joel.sherrill@…>, on May 1, 2013 at 12:41:56 AM

Remove CVS $

  • Property mode set to 100644
File size: 1.5 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3
4AC_PREREQ([2.68])
5AC_INIT([rtems],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
6AC_CONFIG_SRCDIR([schedsim])
7RTEMS_TOP([.])
8
9# Abort if trying to build inside of the source tree.
10AS_IF([test -f aclocal/version.m4],[
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] )
15])
16
17AC_CANONICAL_TARGET([])
18AM_INIT_AUTOMAKE([no-define foreign dist-bzip2 no-dist-gzip 1.11.1])
19AM_MAINTAINER_MODE
20
21## These option are only in here to let --help report all supported
22## options.
23RTEMS_ENABLE_MULTIPROCESSING
24RTEMS_ENABLE_POSIX
25RTEMS_ENABLE_NETWORKING
26RTEMS_ENABLE_CXX
27RTEMS_ENABLE_TESTS 
28RTEMS_ENABLE_RTEMS_DEBUG
29RTEMS_ENABLE_RTEMSBSP
30RTEMS_ENABLE_MULTILIB
31RTEMS_ENABLE_SMP
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.