forked from Imagelibrary/rtems
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).
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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).
|
||||
|
||||
2005-01-28 Eric Norum <norume@aps.anl.gov>
|
||||
|
||||
* libnetworking/rtems/rtems_glue.c: Remove dead variable.
|
||||
|
||||
@@ -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*
|
||||
])])
|
||||
@@ -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)
|
||||
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user