From 891aa12e438e85c892e882bcdf503aafeb15b303 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 1 Feb 2005 16:06:39 +0000 Subject: 2005-02-01 Ralf Corsepius * aclocal/prog-cc.m4: Remove refs to gcc-isystem.m4. * aclocal/gcc-isystem.m4: Remove (Unused). --- cpukit/aclocal/gcc-isystem.m4 | 25 ------------------------- cpukit/aclocal/prog-cc.m4 | 8 +------- 2 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 cpukit/aclocal/gcc-isystem.m4 (limited to 'cpukit/aclocal') 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 -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) - ]) -- cgit v1.2.3