forked from Imagelibrary/rtems
* aclocal/bsp-arg-enable.m4, aclocal/canonical-target-name.m4, aclocal/canonicalize-tools.m4, aclocal/check-custom-bsp.m4, aclocal/check-posix.m4, aclocal/check-rdbg.m4, aclocal/check-tool.m4, aclocal/config-subdirs.m4, aclocal/enable-bare.m4, aclocal/enable-cxx.m4, aclocal/enable-itron.m4, aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4, aclocal/enable-posix.m4, aclocal/enable-rdbg.m4, aclocal/enable-rtemsbsp.m4, aclocal/env-rtemsbsp.m4, aclocal/gcc-isystem.m4, aclocal/gcc-pipe.m4, aclocal/gcc-specs.m4, aclocal/i386-gas-code16.m4, aclocal/multilib.m4, aclocal/path-ksh.m4, aclocal/prog-cc.m4, aclocal/prog-cxx.m4, aclocal/project-root.m4, aclocal/rtems-top.m4, aclocal/target.m4, aclocal/tool-paths.m4: Fix underquoting to silence automake-1.8.
26 lines
481 B
Plaintext
26 lines
481 B
Plaintext
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*
|
|
])])
|