Changeset b422aa3f in rtems for testsuites/samples/configure.ac


Ignore:
Timestamp:
Apr 26, 2018, 2:05:45 PM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
397df7a
Parents:
c77cd426
git-author:
Sebastian Huber <sebastian.huber@…> (04/26/18 14:05:45)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/02/18 05:11:03)
Message:

tests: Remove configure feature checks

Update #3409.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/configure.ac

    rc77cd426 rb422aa3f  
    3131RTEMS_CHECK_CPUOPTS([RTEMS_SMP])
    3232
    33 CXXTESTS=$HAS_CPLUSPLUS
    34 AS_IF([test $HAS_CPLUSPLUS = yes],[
    35   AC_LANG_PUSH([C++])
    36   AC_CHECK_HEADERS([cstdio cstdlib iostream],[],[CXXTESTS=no])
    37   AC_CACHE_CHECK(
    38   [if iostream supports std:: namespace],
    39   [rtems_cv_HAVE_IOSTREAM_STD_NAMESPACE],
    40   [AC_COMPILE_IFELSE(
    41     [AC_LANG_PROGRAM(
    42       [[#include <iostream>]],
    43       [[std::cout << "hello" << std::endl;]])
    44     ],
    45     [rtems_cv_HAVE_IOSTREAM_STD_NAMESPACE=yes],
    46     [rtems_cv_HAVE_IOSTREAM_STD_NAMESPACE=no])
    47   ])
    48   AS_IF([test $rtems_cv_HAVE_IOSTREAM_STD_NAMESPACE = no],[CXXTESTS=no])
    49   AS_IF([test $CXXTESTS = no],[
    50     AC_MSG_WARN([disabling C++ tests])
    51   ])
    52   AC_LANG_POP
    53 ])
    54 
    55 AM_CONDITIONAL([CXXTESTS],[test $CXXTESTS = "yes"])
     33AM_CONDITIONAL([CXXTESTS],[test "$HAS_CPLUSPLUS" = "yes"])
    5634AM_CONDITIONAL(NETTESTS,test "$rtems_cv_RTEMS_NETWORKING" = "yes")
    5735AM_CONDITIONAL(HAS_MP,test "$rtems_cv_RTEMS_MULTIPROCESSING" = "yes")
    5836AM_CONDITIONAL(NO_SMP,test "$rtems_cv_RTEMS_SMP" != "yes")
    5937AM_CONDITIONAL(HAS_SMP,test "$rtems_cv_RTEMS_SMP" = "yes")
    60 
    61 # FIXME: We should get rid of this. It's a cludge.
    62 AC_CHECK_SIZEOF([time_t])
    6338
    6439# BSP Test configuration
Note: See TracChangeset for help on using the changeset viewer.