4.115
Last change
on this file since 121dd881 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:
901 bytes
|
Line | |
---|
1 | AC_DEFUN([RTEMS_CHECK_NEWLIB], |
---|
2 | [dnl |
---|
3 | AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl |
---|
4 | AC_REQUIRE([RTEMS_CANONICALIZE_TOOLS])dnl |
---|
5 | AC_CACHE_CHECK([for RTEMS newlib], |
---|
6 | rtems_cv_use_newlib, |
---|
7 | [ |
---|
8 | dnl some versions of newlib provide not_required_by_rtems |
---|
9 | AC_LINK_IFELSE( |
---|
10 | [AC_LANG_PROGRAM([[extern void not_required_by_rtems() ;]], |
---|
11 | [[not_required_by_rtems()]])], |
---|
12 | [rtems_cv_use_newlib="yes"],[]) |
---|
13 | |
---|
14 | dnl some versions of newlib provide rtems_provides_crt0() |
---|
15 | AS_IF([test -z "$rtems_cv_use_newlib"], |
---|
16 | [AC_LINK_IFELSE( |
---|
17 | [AC_LANG_PROGRAM([[extern void rtems_provides_crt0() ;]], |
---|
18 | [[rtems_provides_crt0()]])], |
---|
19 | [rtems_cv_use_newlib="yes"],[rtems_cv_use_newlib="no"]) |
---|
20 | ]) |
---|
21 | ]) |
---|
22 | RTEMS_USE_NEWLIB="$rtems_cv_use_newlib" |
---|
23 | AC_SUBST(RTEMS_USE_NEWLIB) |
---|
24 | |
---|
25 | AS_IF([test x"${RTEMS_USE_NEWLIB}" = x"yes"], |
---|
26 | [ AC_DEFINE_UNQUOTED(RTEMS_NEWLIB,1,[if using newlib])] |
---|
27 | ) |
---|
28 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.