4.104.114.84.95
Last change
on this file since 867ab080 was
867ab080,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/18/03 at 06:35:41
|
2003-08-18 Ralf Corsepius <corsepiu@…>
- aclocal/bsp-alias.m4: New (Copied from ../../aclocal).
- aclocal/bsp-arg-enable.m4: New (Copied from ../../aclocal).
- aclocal/bsp-configure.m4: New (Copied from ../../aclocal).
- aclocal/bspopts.m4: New (Copied from ../../aclocal).
- aclocal/canonical-host.m4: New (Copied from ../../aclocal).
- aclocal/canonicalize-tools.m4: New (Copied from ../../aclocal).
- aclocal/canonical-target-name.m4: New (Copied from ../../aclocal).
- aclocal/check-cpu.m4: New (Copied from ../../aclocal).
- aclocal/check-custom-bsp.m4: New (Copied from ../../aclocal).
- aclocal/check-cxx.m4: New (Copied from ../../aclocal).
- aclocal/check-itron.m4: New (Copied from ../../aclocal).
- aclocal/check-multiprocessing.m4: New (Copied from ../../aclocal).
- aclocal/check-networking.m4: New (Copied from ../../aclocal).
- aclocal/check-posix.m4: New (Copied from ../../aclocal).
- aclocal/check-rdbg.m4: New (Copied from ../../aclocal).
- aclocal/check-tool.m4: New (Copied from ../../aclocal).
- aclocal/config-subdirs.m4: New (Copied from ../../aclocal).
- aclocal/enable-bare.m4: New (Copied from ../../aclocal).
- aclocal/enable-cxx.m4: New (Copied from ../../aclocal).
- aclocal/enable-inlines.m4: New (Copied from ../../aclocal).
- aclocal/enable-itron.m4: New (Copied from ../../aclocal).
- aclocal/enable-multiprocessing.m4: New (Copied from ../../aclocal).
- aclocal/enable-networking.m4: New (Copied from ../../aclocal).
- aclocal/enable-posix.m4: New (Copied from ../../aclocal).
- aclocal/enable-rdbg.m4: New (Copied from ../../aclocal).
- aclocal/enable-rtemsbsp.m4: New (Copied from ../../aclocal).
- aclocal/env-rtemsbsp.m4: New (Copied from ../../aclocal).
- aclocal/gcc-isystem.m4: New (Copied from ../../aclocal).
- aclocal/gcc-pipe.m4: New (Copied from ../../aclocal).
- aclocal/gcc-specs.m4: New (Copied from ../../aclocal).
- aclocal/i386-gas-code16.m4: New (Copied from ../../aclocal).
- aclocal/multilib.m4: New (Copied from ../../aclocal).
- aclocal/path-ksh.m4: New (Copied from ../../aclocal).
- aclocal/path-perl.m4: New (Copied from ../../aclocal).
- aclocal/ppc.m4: New (Copied from ../../aclocal).
- aclocal/prog-ccas.m4: New (Copied from ../../aclocal).
- aclocal/prog-cc.m4: New (Copied from ../../aclocal).
- aclocal/prog-cxx.m4: New (Copied from ../../aclocal).
- aclocal/project-root.m4: New (Copied from ../../aclocal).
- aclocal/quoting.m4: New (Copied from ../../aclocal).
- aclocal/rtems-cpu-subdirs.m4: New (Copied from ../../aclocal).
- aclocal/rtems-flags.m4: New (Copied from ../../aclocal).
- aclocal/rtems-top.m4: New (Copied from ../../aclocal).
- aclocal/target.m4: New (Copied from ../../aclocal).
- aclocal/tool-paths.m4: New (Copied from ../../aclocal).
- aclocal/version.m4: New (Copied from ../../aclocal).
|
-
Property mode set to
100644
|
File size:
892 bytes
|
Line | |
---|
1 | dnl |
---|
2 | dnl $Id$ |
---|
3 | dnl |
---|
4 | dnl Check for target g++ |
---|
5 | dnl |
---|
6 | |
---|
7 | AC_DEFUN(RTEMS_PROG_CXX_FOR_TARGET, |
---|
8 | [ |
---|
9 | AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl |
---|
10 | AC_REQUIRE([RTEMS_ENABLE_CXX]) |
---|
11 | RTEMS_CHECK_TOOL(CXX,g++) |
---|
12 | if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; |
---|
13 | then |
---|
14 | _RTEMS_FLAGS([CXXFLAGS], |
---|
15 | ["\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g"]) |
---|
16 | |
---|
17 | dnl Only accept g++ |
---|
18 | dnl NOTE: This might be too restrictive |
---|
19 | test -z "$CXX" \ |
---|
20 | && AC_MSG_ERROR([no acceptable c++ found in \$PATH]) |
---|
21 | AC_PROG_CXX |
---|
22 | |
---|
23 | if test "$ac_cv_prog_cc_cross" != "$ac_cv_prog_cxx_cross"; then |
---|
24 | AC_MSG_ERROR([***] |
---|
25 | [Inconsistency in compiler configuration:] |
---|
26 | [Target C compiler and target C++ compiler] |
---|
27 | [must both either be cross compilers or native compilers] |
---|
28 | [Hint: If building a posix bsp: LD_LIBRARY_PATH?] ) |
---|
29 | fi |
---|
30 | |
---|
31 | else |
---|
32 | ## Work-around to a bug in automake |
---|
33 | AM_CONDITIONAL([am__fastdepCXX],[false]) |
---|
34 | fi |
---|
35 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.