4.115
Last change
on this file since fd57015 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:
1.0 KB
|
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 | dnl check target cc |
---|
21 | RTEMS_PROG_CC |
---|
22 | dnl check if the compiler supports -isystem |
---|
23 | RTEMS_GCC_ISYSTEM |
---|
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 | dnl check if the compiler supports --specs |
---|
29 | RTEMS_GCC_SPECS |
---|
30 | |
---|
31 | AS_IF([test x"$rtems_cv_gcc_specs" = xyes],[ |
---|
32 | GCCSPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/" |
---|
33 | GCCSPECS="${GCCSPECS} -specs bsp_specs -qrtems"]) |
---|
34 | AC_SUBST(GCCSPECS) |
---|
35 | |
---|
36 | AS_IF([test x"$rtems_cv_gcc_isystem" = xyes],[ |
---|
37 | RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"],[ |
---|
38 | RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)" |
---|
39 | ]) |
---|
40 | AC_SUBST(RTEMS_CPPFLAGS) |
---|
41 | |
---|
42 | AS_IF([test "$GCC" = yes],[ |
---|
43 | RTEMS_RELLDFLAGS="-qnolinkcmds -nostdlib -r" |
---|
44 | ]) |
---|
45 | AC_SUBST(RTEMS_RELLDFLAGS) |
---|
46 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.