source: rtems/c/src/tests/configure.ac @ e41e3fe7

4.104.114.84.95
Last change on this file since e41e3fe7 was e41e3fe7, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/22/03 at 06:00:38

2003-08-22 Ralf Corsepius <corsepiu@…>

  • aclocal/enable-tests.m4: Change to support --enable-tests=no|yes|samples, default is samples.
  • configure.ac: Reflect changes above.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.57)
6AC_INIT([rtems-c-src-tests],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
7AC_CONFIG_SRCDIR([samples])
8RTEMS_TOP(../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE([no-define foreign 1.7.2])
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_POSIX
16RTEMS_ENABLE_ITRON
17RTEMS_ENABLE_NETWORKING
18RTEMS_ENABLE_CXX
19RTEMS_ENABLE_BARE
20RTEMS_ENABLE_TESTS
21
22RTEMS_ENV_RTEMSBSP
23RTEMS_CHECK_CPU
24RTEMS_CANONICAL_HOST
25
26RTEMS_PROJECT_ROOT
27
28RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
29RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
30RTEMS_CHECK_POSIX_API(RTEMS_BSP)
31RTEMS_CHECK_ITRON_API(RTEMS_BSP)
32RTEMS_CHECK_TESTS
33
34case $enable_tests in
35yes | samples )
36  AC_CONFIG_SUBDIRS(tools)
37  AC_CONFIG_SUBDIRS(support)
38  AC_CONFIG_SUBDIRS(samples)
39  ;;
40esac
41
42if test "$enable_tests" = "yes"; then
43  # do functionality tests first, then performance tests
44  AC_CONFIG_SUBDIRS(libtests sptests)
45  if test "$HAS_MP" = "yes"; then
46    AC_CONFIG_SUBDIRS(mptests)
47  fi
48  if test "$HAS_POSIX_API" = "yes"; then
49    AC_CONFIG_SUBDIRS(psxtests)
50  fi
51  if test "$HAS_ITRON_API" = "yes"; then
52    AC_CONFIG_SUBDIRS(itrontests)
53  fi
54  # Now do performance tests
55  AC_CONFIG_SUBDIRS(tmtests)
56  if test "$HAS_ITRON_API" = "yes"; then
57    AC_CONFIG_SUBDIRS(tmitrontests)
58  fi
59fi
60
61AC_SUBST(BARE_CPU_CFLAGS)
62AC_SUBST(BARE_CPU_MODEL)
63
64# Explicitly list all Makefiles here
65AC_CONFIG_FILES([Makefile
66])
67AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.