4.115
Last change
on this file since ffbeb6f 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:
942 bytes
|
Line | |
---|
1 | dnl |
---|
2 | dnl Check for target gcc |
---|
3 | dnl |
---|
4 | |
---|
5 | AC_DEFUN([RTEMS_PROG_CC], |
---|
6 | [ |
---|
7 | AC_BEFORE([$0], [AC_PROG_CPP])dnl |
---|
8 | AC_BEFORE([$0], [AC_PROG_CC])dnl |
---|
9 | AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl |
---|
10 | |
---|
11 | RTEMS_CHECK_TOOL(CC,gcc) |
---|
12 | test -z "$CC" && \ |
---|
13 | AC_MSG_ERROR([no acceptable cc found in \$PATH]) |
---|
14 | AC_PROG_CC |
---|
15 | AC_PROG_CPP |
---|
16 | ]) |
---|
17 | |
---|
18 | AC_DEFUN([RTEMS_PROG_CC_FOR_TARGET], |
---|
19 | [ |
---|
20 | # Was CFLAGS set? |
---|
21 | rtems_cv_CFLAGS_set="${CFLAGS+set}" |
---|
22 | dnl check target cc |
---|
23 | RTEMS_PROG_CC |
---|
24 | dnl check if the target compiler may use --pipe |
---|
25 | RTEMS_GCC_PIPE |
---|
26 | test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe" |
---|
27 | |
---|
28 | # Append warning flags if CFLAGS wasn't set. |
---|
29 | AS_IF([test "$GCC" = yes && test "$rtems_cv_CFLAGS_set" != set], |
---|
30 | [CFLAGS="$CFLAGS -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs"]) |
---|
31 | |
---|
32 | RTEMS_CPPFLAGS="-I\$(top_builddir) -I\$(PROJECT_INCLUDE)" |
---|
33 | AC_SUBST(RTEMS_CPPFLAGS) |
---|
34 | |
---|
35 | AS_IF([test "$GCC" = yes],[ |
---|
36 | RTEMS_RELLDFLAGS="-qnolinkcmds -nostdlib -r" |
---|
37 | ]) |
---|
38 | AC_SUBST(RTEMS_RELLDFLAGS) |
---|
39 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.