2003-06-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* configure.ac: Remove "BLEEDING EDGE" warning.
	Put docs into RTEMS_BUILD_CONFIG_SUBDIRS.
	* acinclude.m4: Add AC_PREREQ(2.57).
	Major overhaul (PR 412).
	* aclocal/prog-cc.m4: Add RTEMS_GCC_ISYSTEM.
	* aclocal/gcc-isystem.m4: New.
	* Makefile.am: Add aclocal/gcc-isystem.m4.
This commit is contained in:
Ralf Corsepius
2003-06-12 05:57:22 +00:00
parent e8ee071750
commit 040e70a04f
6 changed files with 115 additions and 71 deletions

25
aclocal/gcc-isystem.m4 Normal file
View File

@@ -0,0 +1,25 @@
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*
])])