source: rtems/testsuites/aclocal/check-cxx.m4 @ 0caef32

4.11
Last change on this file since 0caef32 was 0caef32, checked in by Ralf Corsépius <ralf.corsepius@…>, on May 4, 2012 at 6:55:07 AM

Remove CVS-Ids.

  • Property mode set to 100644
File size: 526 bytes
Line 
1AC_DEFUN([RTEMS_CHECK_CXX],
2[dnl
3AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
4AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
5AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl
6AC_CACHE_CHECK([whether to build rtems++],
7  rtems_cv_HAS_CPLUSPLUS,
8  [ if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
9      if test -n "$CXX"; then
10        rtems_cv_HAS_CPLUSPLUS="yes"
11      else
12        rtems_cv_HAS_CPLUSPLUS="no"
13      fi
14    else
15      rtems_cv_HAS_CPLUSPLUS="no"
16    fi])
17HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
18AC_SUBST(HAS_CPLUSPLUS)dnl
19])
Note: See TracBrowser for help on using the repository browser.