source: rtems/testsuites/configure.ac @ ea7d86b

4.104.115
Last change on this file since ea7d86b was 46605724, checked in by Joel Sherrill <joel.sherrill@…>, on 09/13/09 at 21:09:47

2009-09-13 Joel Sherrill <joel.sherrill@…>

  • configure.ac: Some POSIX tests exercise functionality which is enabled when the POSIX threading is disabled. So build this suite all the time and let the psxtests select the specific tests to build.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.60)
6AC_INIT([rtems-c-src-tests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
7AC_CONFIG_SRCDIR([PROBLEMS])
8RTEMS_TOP([..],[])
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE([no-define foreign 1.10])
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_TESTS
16RTEMS_ENABLE_CXX
17
18RTEMS_ENV_RTEMSBSP
19
20RTEMS_PROJECT_ROOT
21
22RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
23RTEMS_PROG_CC
24
25RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
26RTEMS_CHECK_CPUOPTS([RTEMS_ITRON_API])
27RTEMS_CHECK_CPUOPTS([RTEMS_MULTIPROCESSING])
28RTEMS_CHECK_CPUOPTS([RTEMS_NETWORKING])
29
30case $enable_tests in
31yes | samples )
32  AC_CONFIG_SUBDIRS(samples)
33  ;;
34esac
35
36if test "$enable_tests" = "yes"; then
37  # do functionality tests first, then performance tests
38  AC_CONFIG_SUBDIRS(libtests sptests psxtests)
39  if test "$rtems_cv_RTEMS_MULTIPROCESSING" = "yes"; then
40    AC_CONFIG_SUBDIRS(mptests)
41  fi
42  if test "$rtems_cv_RTEMS_ITRON_API" = "yes"; then
43    AC_CONFIG_SUBDIRS(itrontests)
44  fi
45  # Now do performance tests
46  AC_CONFIG_SUBDIRS(tmtests)
47  if test "$rtems_cv_RTEMS_ITRON_API" = "yes"; then
48    AC_CONFIG_SUBDIRS(tmitrontests)
49  fi
50fi
51
52# Explicitly list all Makefiles here
53AC_CONFIG_FILES([Makefile])
54AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.