source: rtems/testsuites/aclocal/prog-cc.m4 @ d1c5c01f

4.115
Last change on this file since d1c5c01f 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: 704 bytes
Line 
1dnl
2dnl Check for target gcc
3dnl
4
5AC_DEFUN([RTEMS_PROG_CC],
6[
7AC_BEFORE([$0], [AC_PROG_CPP])dnl
8AC_BEFORE([$0], [AC_PROG_CC])dnl
9AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
10
11case "$host" in
12*-*-rtems*) ac_cv_exeext=.exe;;
13esac
14
15RTEMS_CHECK_TOOL(CC,gcc)
16test -z "$CC" && \
17  AC_MSG_ERROR([no acceptable cc found in \$PATH])
18AC_PROG_CC
19AC_PROG_CPP
20])
21
22AC_DEFUN([RTEMS_PROG_CC_FOR_TARGET],
23[
24dnl check target cc
25RTEMS_PROG_CC
26
27AS_IF([test x"$GCC" = xyes],[
28AS_IF([test "${enable_cpukit_root+set}"],[
29  GCCSPECS="-B\$(CPUKIT_ROOT)/lib/"])
30AS_IF([test "${enable_project_root+set}"],[
31  GCCSPECS="$GCCSPECS -B\$(PROJECT_ROOT)/lib/"])
32GCCSPECS="${GCCSPECS} -specs bsp_specs -qrtems"])
33AC_SUBST(GCCSPECS)
34])
Note: See TracBrowser for help on using the repository browser.