forked from Imagelibrary/rtems
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.
21 lines
530 B
Plaintext
21 lines
530 B
Plaintext
dnl
|
|
AC_DEFUN([RTEMS_CHECK_CXX],
|
|
[dnl
|
|
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
|
|
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
|
|
AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl
|
|
AC_CACHE_CHECK([whether to build rtems++],
|
|
rtems_cv_HAS_CPLUSPLUS,
|
|
[ if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
|
if test -n "$CXX"; then
|
|
rtems_cv_HAS_CPLUSPLUS="yes"
|
|
else
|
|
rtems_cv_HAS_CPLUSPLUS="no"
|
|
fi
|
|
else
|
|
rtems_cv_HAS_CPLUSPLUS="no"
|
|
fi])
|
|
HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
|
|
AC_SUBST(HAS_CPLUSPLUS)dnl
|
|
])
|