4.104.114.84.95
Last change
on this file since 24688dbd was
53eb191,
checked in by Joel Sherrill <joel.sherrill@…>, on 04/17/02 at 13:27:29
|
2002-04-15 Ralf Corsepius <corsepiu@…>
- aclocal/prog-cc.m4: Remove GCC272 support.
Remove ENABLE_LIBCDIR.
- aclocal/prog-cxx.m4: Ditto.
- aclocal/enable-gcc28.m4: Remove.
- aclocal/enable-libcdir.m4: Ditto.
|
-
Property mode set to
100644
|
File size:
704 bytes
|
Line | |
---|
1 | dnl |
---|
2 | dnl $Id$ |
---|
3 | dnl |
---|
4 | dnl Check for target g++ |
---|
5 | dnl |
---|
6 | |
---|
7 | AC_DEFUN(RTEMS_PROG_CXX, |
---|
8 | [ |
---|
9 | AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl |
---|
10 | AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl |
---|
11 | |
---|
12 | dnl Only accept g++ |
---|
13 | dnl NOTE: This might be too restrictive |
---|
14 | RTEMS_CHECK_TOOL(CXX,g++) |
---|
15 | AC_PROG_CXX |
---|
16 | test -z "$CXX" \ |
---|
17 | && AC_MSG_ERROR([no acceptable c++ found in \$PATH]) |
---|
18 | ]) |
---|
19 | |
---|
20 | AC_DEFUN(RTEMS_PROG_CXX_FOR_TARGET, |
---|
21 | [ |
---|
22 | RTEMS_PROG_CXX |
---|
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 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.