source: rtems/c/src/aclocal/check-cxx.m4 @ 3993b6f7

4.104.114.84.95
Last change on this file since 3993b6f7 was 3993b6f7, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/21/03 at 11:28:41

2003-10-21 Ralf Corsepius <corsepiu@…>

  • aclocal/canonical-target-name.m4: Add m4-quotes.
  • aclocal/check-cxx.m4: Add m4-quotes. Don't require RTEMS_CHECK_CPU.
  • aclocal/check-multiprocessing.m4: Add m4-quotes. Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
  • aclocal/check-networking.m4: Add m4-quotes. Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
  • aclocal/check-posix.m4: Add m4-quotes. Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
  • aclocal/check-rdbg.m4: Add m4-quotes. Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
  • Property mode set to 100644
File size: 628 bytes
Line 
1dnl $Id$
2dnl
3AC_DEFUN([RTEMS_CHECK_CXX],
4[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
21if test "$HAS_CPLUSPLUS" = "yes"; then
22CPLUS_LD_LIBS='$(PROJECT_RELEASE)/lib/librtems++$(LIB_VARIANT).a'
23fi
24AC_SUBST(CPLUS_LD_LIBS)
25])
Note: See TracBrowser for help on using the repository browser.