diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-26 16:05:45 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-05-02 07:11:03 +0200 |
commit | b422aa3f4a8ecb27bc76c3c5f29d34e007564315 (patch) | |
tree | 3306e82c8ea3b7d6247d94f8fc04d1953725fe8d /testsuites/samples | |
parent | Drop executable permissions on .[ch] files (diff) | |
download | rtems-b422aa3f4a8ecb27bc76c3c5f29d34e007564315.tar.bz2 |
tests: Remove configure feature checks
Update #3409.
Diffstat (limited to 'testsuites/samples')
-rw-r--r-- | testsuites/samples/configure.ac | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/testsuites/samples/configure.ac b/testsuites/samples/configure.ac index c3f62673a4..9721ea4f26 100644 --- a/testsuites/samples/configure.ac +++ b/testsuites/samples/configure.ac @@ -30,37 +30,12 @@ RTEMS_CHECK_CXX(RTEMS_BSP) RTEMS_CHECK_CPUOPTS([RTEMS_NETWORKING]) RTEMS_CHECK_CPUOPTS([RTEMS_SMP]) -CXXTESTS=$HAS_CPLUSPLUS -AS_IF([test $HAS_CPLUSPLUS = yes],[ - AC_LANG_PUSH([C++]) - AC_CHECK_HEADERS([cstdio cstdlib iostream],[],[CXXTESTS=no]) - AC_CACHE_CHECK( - [if iostream supports std:: namespace], - [rtems_cv_HAVE_IOSTREAM_STD_NAMESPACE], - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[#include <iostream>]], - [[std::cout << "hello" << std::endl;]]) - ], - [rtems_cv_HAVE_IOSTREAM_STD_NAMESPACE=yes], - [rtems_cv_HAVE_IOSTREAM_STD_NAMESPACE=no]) - ]) - AS_IF([test $rtems_cv_HAVE_IOSTREAM_STD_NAMESPACE = no],[CXXTESTS=no]) - AS_IF([test $CXXTESTS = no],[ - AC_MSG_WARN([disabling C++ tests]) - ]) - AC_LANG_POP -]) - -AM_CONDITIONAL([CXXTESTS],[test $CXXTESTS = "yes"]) +AM_CONDITIONAL([CXXTESTS],[test "$HAS_CPLUSPLUS" = "yes"]) AM_CONDITIONAL(NETTESTS,test "$rtems_cv_RTEMS_NETWORKING" = "yes") AM_CONDITIONAL(HAS_MP,test "$rtems_cv_RTEMS_MULTIPROCESSING" = "yes") AM_CONDITIONAL(NO_SMP,test "$rtems_cv_RTEMS_SMP" != "yes") AM_CONDITIONAL(HAS_SMP,test "$rtems_cv_RTEMS_SMP" = "yes") -# FIXME: We should get rid of this. It's a cludge. -AC_CHECK_SIZEOF([time_t]) - # BSP Test configuration RTEMS_TEST_CHECK([base_mp]) RTEMS_TEST_CHECK([base_sp]) |