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

4.115
Last change on this file since ee32f67a was 0caef32f, checked in by Ralf Corsépius <ralf.corsepius@…>, on 05/04/12 at 06:55:07

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.