diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-02-01 16:06:39 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-02-01 16:06:39 +0000 |
commit | 891aa12e438e85c892e882bcdf503aafeb15b303 (patch) | |
tree | 056056a1f114207609132189c829a21366449b8e /cpukit/aclocal | |
parent | 2005-02-01 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-891aa12e438e85c892e882bcdf503aafeb15b303.tar.bz2 |
2005-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Remove refs to gcc-isystem.m4.
* aclocal/gcc-isystem.m4: Remove (Unused).
Diffstat (limited to 'cpukit/aclocal')
-rw-r--r-- | cpukit/aclocal/gcc-isystem.m4 | 25 | ||||
-rw-r--r-- | cpukit/aclocal/prog-cc.m4 | 8 |
2 files changed, 1 insertions, 32 deletions
diff --git a/cpukit/aclocal/gcc-isystem.m4 b/cpukit/aclocal/gcc-isystem.m4 deleted file mode 100644 index 94098cf33c..0000000000 --- a/cpukit/aclocal/gcc-isystem.m4 +++ /dev/null @@ -1,25 +0,0 @@ -dnl -dnl $Id$ -dnl -dnl Check whether the gcc accepts -isystem -dnl - -AC_DEFUN([RTEMS_GCC_ISYSTEM], -[AC_REQUIRE([RTEMS_PROG_CC]) -AC_CACHE_CHECK(whether $CC accepts -isystem,rtems_cv_gcc_isystem, -[ -rtems_cv_gcc_isystem=no -if test x"$GCC" = x"yes"; then -cat << EOF > conftest.h -int conftest123(); -EOF -cat << EOF > conftest.c -#include <conftest.h> -int conftest123() {} -EOF - if test -z "`${CC} -isystem./ -c conftest.c 2>&1`";then - rtems_cv_gcc_isystem=yes - fi -fi -rm -f conftest* -])]) diff --git a/cpukit/aclocal/prog-cc.m4 b/cpukit/aclocal/prog-cc.m4 index 283cd02b9d..a62dae198e 100644 --- a/cpukit/aclocal/prog-cc.m4 +++ b/cpukit/aclocal/prog-cc.m4 @@ -21,8 +21,6 @@ AC_DEFUN([RTEMS_PROG_CC_FOR_TARGET], [ dnl check target cc RTEMS_PROG_CC -dnl check if the compiler supports -isystem -RTEMS_GCC_ISYSTEM dnl check if the target compiler may use --pipe RTEMS_GCC_PIPE test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe" @@ -33,10 +31,6 @@ m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"]) fi AC_SUBST(RTEMS_CFLAGS) -AS_IF([test x"$rtems_cv_gcc_isystem" = x"yes"],[ - RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"],[ - RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)" -]) +RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)" AC_SUBST(RTEMS_CPPFLAGS) - ]) |