source: rtems/testsuites/configure.ac @ 03c1038

Last change on this file since 03c1038 was 9a4eca5, checked in by Chris Johns <chrisj@…>, on Aug 10, 2016 at 3:07:29 AM

build-system: Always enable C++ if the compiler is present.

We always build a C++ compiler and building with C++ does not effect
RTEMS or the runtime. This patch always enabled the support. There is
no need to manually enable it any more.

You can disable C++ with '--disable-cxx'.

If an architecture does not have a C++ compiler support is automatically
disabled.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1## Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-c-src-tests],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
5AC_CONFIG_SRCDIR([PROBLEMS])
6RTEMS_TOP([..],[])
7
8RTEMS_CANONICAL_TARGET_CPU
9
10AM_INIT_AUTOMAKE([no-define foreign 1.12.2])
11AM_MAINTAINER_MODE
12
13RTEMS_ENABLE_TESTS
14RTEMS_ENABLE_CXX
15
16RTEMS_ENV_RTEMSBSP
17
18RTEMS_PROJECT_ROOT
19
20RTEMS_PROG_CC_FOR_TARGET
21RTEMS_PROG_CXX_FOR_TARGET
22RTEMS_CANONICALIZE_TOOLS
23AM_PROG_CC_C_O
24
25RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
26
27RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
28RTEMS_CHECK_CPUOPTS([RTEMS_MULTIPROCESSING])
29RTEMS_CHECK_CPUOPTS([RTEMS_NETWORKING])
30RTEMS_CHECK_CPUOPTS([RTEMS_SMP])
31
32case $enable_tests in
33yes | samples )
34  AC_CONFIG_SUBDIRS(samples)
35  ;;
36esac
37
38if test "$enable_tests" = "yes"; then
39  # do functionality tests first, then performance tests
40  AC_CONFIG_SUBDIRS(libtests sptests fstests psxtests)
41  if test "$rtems_cv_RTEMS_MULTIPROCESSING" = "yes"; then
42    AC_CONFIG_SUBDIRS(mptests)
43  fi
44  if test "$rtems_cv_RTEMS_SMP" = "yes"; then
45    AC_CONFIG_SUBDIRS(smptests)
46  fi
47  # Now do performance tests
48  AC_CONFIG_SUBDIRS(tmtests psxtmtests rhealstone)
49fi
50
51# Explicitly list all Makefiles here
52AC_CONFIG_FILES([Makefile])
53AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.