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

4.104.114.84.9
Last change on this file since 0e8262cf was 0e8262cf, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 26, 2003 at 6:21:00 AM

2003-11-26 Ralf Corsepius <corsepiu@…>

  • aclocal/canonical-target-name.m4, aclocal/canonicalize-tools.m4, aclocal/check-custom-bsp.m4, aclocal/check-cxx.m4, aclocal/check-itron.m4, aclocal/check-multiprocessing.m4, aclocal/check-networking.m4, aclocal/check-posix.m4, aclocal/check-tool.m4, aclocal/config-subdirs.m4, aclocal/enable-bare.m4, aclocal/enable-cxx.m4, aclocal/enable-itron.m4, aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4, aclocal/enable-posix.m4, aclocal/enable-rtemsbsp.m4, aclocal/enable-tests.m4, aclocal/env-rtemsbsp.m4, aclocal/gcc-isystem.m4, aclocal/gcc-pipe.m4, aclocal/gcc-specs.m4, aclocal/multilib.m4, aclocal/path-ksh.m4, aclocal/prog-cc.m4, aclocal/prog-cxx.m4, aclocal/project-root.m4, aclocal/rtems-test-no-pause.m4, aclocal/rtems-top.m4, aclocal/target.m4, aclocal/tool-paths.m4: Fix underquoting to silence automake-1.8.
  • Property mode set to 100644
File size: 672 bytes
Line 
1dnl $Id$
2dnl
3AC_DEFUN([RTEMS_CHECK_CXX],
4[dnl
5AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
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
22if test "$HAS_CPLUSPLUS" = "yes"; then
23CPLUS_LD_LIBS='$(PROJECT_RELEASE)/lib/librtems++$(LIB_VARIANT).a'
24fi
25AC_SUBST(CPLUS_LD_LIBS)
26])
Note: See TracBrowser for help on using the repository browser.