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

Last change on this file was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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