source: rtems/cpukit/aclocal/gcc-pipe.m4 @ ffbeb6f

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: 415 bytes
Line 
1dnl Check whether the target compiler accepts -pipe
2dnl
3
4AC_DEFUN([RTEMS_GCC_PIPE],
5[AC_REQUIRE([RTEMS_PROG_CC])
6AC_REQUIRE([AC_CANONICAL_HOST])
7AC_CACHE_CHECK(whether $CC accepts --pipe,rtems_cv_gcc_pipe,
8[
9rtems_cv_gcc_pipe=no
10if test x"$GCC" = x"yes"; then
11    echo 'void f(){}' >conftest.c
12    if test -z "`${CC} --pipe -c conftest.c 2>&1`";then
13      rtems_cv_gcc_pipe=yes
14    fi
15    rm -f conftest*
16fi
17])
18])
Note: See TracBrowser for help on using the repository browser.