source: rtems/c/src/aclocal/gcc-isystem.m4 @ 9da42fb

4.115
Last change on this file since 9da42fb 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: 464 bytes
Line 
1dnl Check whether the gcc accepts -isystem
2dnl
3
4AC_DEFUN([RTEMS_GCC_ISYSTEM],
5[AC_REQUIRE([RTEMS_PROG_CC])
6AC_CACHE_CHECK(whether $CC accepts -isystem,rtems_cv_gcc_isystem,
7[
8rtems_cv_gcc_isystem=no
9if test x"$GCC" = x"yes"; then
10cat << EOF > conftest.h
11int conftest123();
12EOF
13cat << EOF > conftest.c
14#include <conftest.h>
15int conftest123() {}
16EOF
17  if test -z "`${CC} -isystem./ -c conftest.c 2>&1`";then
18    rtems_cv_gcc_isystem=yes
19  fi
20fi
21rm -f conftest*
22])])
Note: See TracBrowser for help on using the repository browser.