source: rtems/c/src/tests/configure.in @ c92fb641

4.104.114.84.95
Last change on this file since c92fb641 was b8a30d07, checked in by Joel Sherrill <joel.sherrill@…>, on 07/13/00 at 15:05:38

Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@…>
that is yet another multilib-related structual cleanup patch:

Changes:

  • Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option.
    • Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and cpuopts.h.
    • Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE (aclocal/rtems-test-no-pause.m4).
    • Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins and tmtests/configure.in. These are the only subdirectories which currently apply RTEMS_TEST_NO_PAUSE.
    • Add autoconf-DEFS support to all test subpackages' configure.ins below tests/. I.e. AC_DEFINES now get explicitly propagated as preprocessor defines into Makefiles, cf. AM_CPPFLAGS in tests/*/*.am, instead of using a global config-files.
    • Remove NDEBUG from custom/*.cfg.
  • AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in exec/configure.in, only.
    • All other sources now should relay on the values from cpuopts.h and should not define them themselves.
    • Several related changes to many configure.ins
  • Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to quoting bugs in autoconf).

Notes:

  • This patch is rather immature and only tested for a small subset of BSPs (requires the tests to be enabled and therefore takes an tremendous amount of disc space and time.)
  • The patches to *cfg were generated by a script. Expect file formating changes :)
  • Property mode set to 100644
File size: 1.5 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl  $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(samples)
7RTEMS_TOP(../../..)
8AC_CONFIG_AUX_DIR(../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE(rtems-c-src-tests,$RTEMS_VERSION,no)
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_POSIX
16RTEMS_ENABLE_ITRON
17RTEMS_ENABLE_NETWORKING
18RTEMS_ENABLE_CXX
19RTEMS_ENABLE_GCC28
20RTEMS_ENABLE_BARE
21RTEMS_ENABLE_TESTS
22
23RTEMS_ENV_RTEMSBSP
24RTEMS_CHECK_CPU
25RTEMS_CANONICAL_HOST
26
27RTEMS_PROJECT_ROOT
28
29RTEMS_PROG_CC_FOR_TARGET
30
31dnl check for g++
32if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
33  RTEMS_PROG_CXX_FOR_TARGET
34fi
35
36RTEMS_CANONICALIZE_TOOLS
37
38RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
39RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
40RTEMS_CHECK_POSIX_API(RTEMS_BSP)
41RTEMS_CHECK_ITRON_API(RTEMS_BSP)
42
43if test "$tests_enabled" = "yes"; then
44  # do functionality tests first, then performance tests
45  cfg_subdirs="libtests sptests"
46  if test "$HAS_MP" = "yes"; then
47    cfg_subdirs="$cfg_subdirs mptests"
48  fi
49  if test "$HAS_POSIX_API" = "yes"; then
50    cfg_subdirs="$cfg_subdirs psxtests"
51  fi
52  if test "$HAS_ITRON_API" = "yes"; then
53    cfg_subdirs="$cfg_subdirs itrontests"
54  fi
55  # Now do performance tests
56  cfg_subdirs="$cfg_subdirs tmtests"
57  if test "$HAS_ITRON_API" = "yes"; then
58    cfg_subdirs="$cfg_subdirs tmitrontests"
59  fi
60fi
61
62AC_SUBST(BARE_CPU_CFLAGS)
63AC_SUBST(BARE_CPU_MODEL)
64
65AC_CONFIG_SUBDIRS(tools)
66AC_CONFIG_SUBDIRS(support)
67AC_CONFIG_SUBDIRS(samples)
68AC_CONFIG_SUBDIRS($cfg_subdirs)
69
70# Explicitly list all Makefiles here
71AC_OUTPUT(
72Makefile
73)
Note: See TracBrowser for help on using the repository browser.