4.104.114.84.95
Last change
on this file since f8ee48bf was
2e0fd427,
checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/00 at 15:44:04
|
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
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | dnl |
---|
3 | AC_DEFUN(RTEMS_CHECK_CXX, |
---|
4 | [dnl |
---|
5 | AC_REQUIRE([RTEMS_CHECK_CPU])dnl |
---|
6 | AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl |
---|
7 | AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl |
---|
8 | AC_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]) |
---|
19 | HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS"; |
---|
20 | AC_SUBST(HAS_CPLUSPLUS)dnl |
---|
21 | |
---|
22 | if test "$HAS_CPLUSPLUS" = "yes"; then |
---|
23 | CPLUS_LD_LIBS='$(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)' |
---|
24 | fi |
---|
25 | AC_SUBST(CPLUS_LD_LIBS) |
---|
26 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.