source: rtems/testsuites/configure.ac @ 8c27637

4.104.114.84.9
Last change on this file since 8c27637 was 5f52d1f, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 10, 2003 at 9:57:23 PM

2003-11-10 Ralf Corsepius <corsepiu@…>

  • configure.ac: Reflect having moved to testsuites/.
  • 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.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
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(tools)
35  AC_CONFIG_SUBDIRS(support)
36  AC_CONFIG_SUBDIRS(samples)
37  ;;
38esac
39
40if test "$enable_tests" = "yes"; then
41  # do functionality tests first, then performance tests
42  AC_CONFIG_SUBDIRS(libtests sptests)
43  if test "$HAS_MP" = "yes"; then
44    AC_CONFIG_SUBDIRS(mptests)
45  fi
46  if test "$HAS_POSIX_API" = "yes"; then
47    AC_CONFIG_SUBDIRS(psxtests)
48  fi
49  if test "$HAS_ITRON_API" = "yes"; then
50    AC_CONFIG_SUBDIRS(itrontests)
51  fi
52  # Now do performance tests
53  AC_CONFIG_SUBDIRS(tmtests)
54  if test "$HAS_ITRON_API" = "yes"; then
55    AC_CONFIG_SUBDIRS(tmitrontests)
56  fi
57fi
58
59AC_SUBST(BARE_CPU_CFLAGS)
60AC_SUBST(BARE_CPU_MODEL)
61
62# Explicitly list all Makefiles here
63AC_CONFIG_FILES([Makefile
64])
65AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.