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

4.115
Last change on this file since 33a105fb was 33a105fb, checked in by Joel Sherrill <joel.sherrill@…>, on 05/07/12 at 16:08:48

Revert: Remove CVS Ids

See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.

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