source: rtems/testsuites/configure.ac @ 9a4eca5

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