source: rtems/testsuites/configure.ac @ cc8f37c

4.104.114.84.95
Last change on this file since cc8f37c was 7c48a2e8, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 25, 2004 at 6:05:21 AM

2004-03-25 Ralf Corsepius <corsepiu@…>

  • configure.ac: Add 2nd arg to RTEMS_TOP.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.59)
6AC_INIT([rtems-c-src-tests],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
7AC_CONFIG_SRCDIR([PROBLEMS])
8RTEMS_TOP([..],[])
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE([no-define foreign 1.8])
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
23
24RTEMS_PROJECT_ROOT
25
26RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
27RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
28RTEMS_CHECK_POSIX_API(RTEMS_BSP)
29RTEMS_CHECK_ITRON_API(RTEMS_BSP)
30RTEMS_CHECK_TESTS
31
32case $enable_tests in
33yes | samples )
34  AC_CONFIG_SUBDIRS(support)
35  AC_CONFIG_SUBDIRS(samples)
36  ;;
37esac
38
39if test "$enable_tests" = "yes"; then
40  # do functionality tests first, then performance tests
41  AC_CONFIG_SUBDIRS(libtests sptests)
42  if test "$HAS_MP" = "yes"; then
43    AC_CONFIG_SUBDIRS(mptests)
44  fi
45  if test "$HAS_POSIX_API" = "yes"; then
46    AC_CONFIG_SUBDIRS(psxtests)
47  fi
48  if test "$HAS_ITRON_API" = "yes"; then
49    AC_CONFIG_SUBDIRS(itrontests)
50  fi
51  # Now do performance tests
52  AC_CONFIG_SUBDIRS(tmtests)
53  if test "$HAS_ITRON_API" = "yes"; then
54    AC_CONFIG_SUBDIRS(tmitrontests)
55  fi
56fi
57
58AC_SUBST(BARE_CPU_CFLAGS)
59AC_SUBST(BARE_CPU_MODEL)
60
61# Explicitly list all Makefiles here
62AC_CONFIG_FILES([Makefile
63])
64AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.