source: rtems/aclocal/check-cxx.m4 @ 2e0fd427

4.104.114.84.9
Last change on this file since 2e0fd427 was 2e0fd427, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 2, 2000 at 3:44:04 PM

2000-11-02 Ralf Corsepius <corsepiu@…>

  • aclocal/*: Replace with contents of macros/*.m4
  • macros/: Remove.
  • aclocal/ar-s.m4 aclocal/tool-prefix.m4: Remove.
  • Makefile.am: Reflect changes to aclocal/ and macros/.
  • Property mode set to 100644
File size: 658 bytes
RevLine 
[908436c1]1dnl $Id$
2dnl
3AC_DEFUN(RTEMS_CHECK_CXX,
4[dnl
5AC_REQUIRE([RTEMS_CHECK_CPU])dnl
[e1d8abb]6AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
[908436c1]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
[2e0fd427]11      if test -n "$CXX"; then
[908436c1]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
[1ea70d78]21
22if test "$HAS_CPLUSPLUS" = "yes"; then
23CPLUS_LD_LIBS='$(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)'
24fi
25AC_SUBST(CPLUS_LD_LIBS)
[908436c1]26])
Note: See TracBrowser for help on using the repository browser.