4.115
Last change
on this file since ae55da72 was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24
|
Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
-
Property mode set to
100644
|
File size:
818 bytes
|
Line | |
---|
1 | dnl |
---|
2 | dnl Check for target g++ |
---|
3 | dnl |
---|
4 | |
---|
5 | AC_DEFUN([RTEMS_PROG_CXX_FOR_TARGET], |
---|
6 | [ |
---|
7 | AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl |
---|
8 | AC_REQUIRE([RTEMS_ENABLE_CXX]) |
---|
9 | RTEMS_CHECK_TOOL(CXX,g++) |
---|
10 | if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; |
---|
11 | then |
---|
12 | CXXFLAGS=${CXXFLAGS-${CFLAGS}} |
---|
13 | |
---|
14 | dnl Only accept g++ |
---|
15 | dnl NOTE: This might be too restrictive |
---|
16 | test -z "$CXX" \ |
---|
17 | && AC_MSG_ERROR([no acceptable c++ found in \$PATH]) |
---|
18 | AC_PROG_CXX |
---|
19 | AC_PROG_CXXCPP |
---|
20 | |
---|
21 | if test "$ac_cv_prog_cc_cross" != "$ac_cv_prog_cxx_cross"; then |
---|
22 | AC_MSG_ERROR([***] |
---|
23 | [Inconsistency in compiler configuration:] |
---|
24 | [Target C compiler and target C++ compiler] |
---|
25 | [must both either be cross compilers or native compilers] |
---|
26 | [Hint: If building a posix bsp: LD_LIBRARY_PATH?] ) |
---|
27 | fi |
---|
28 | else |
---|
29 | ## Work-around to a bug in automake |
---|
30 | AM_CONDITIONAL([am__fastdepCXX],[false]) |
---|
31 | fi |
---|
32 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.