summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-06-12 06:03:24 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-06-12 06:03:24 +0000
commit87a9552691924008fc1c65647129fefe3c2465f4 (patch)
tree68266980633ccb2f87ed396a909ed6c19432aa0f
parent2003-06-10 Phil Torre <ptorre@zetron.com> (diff)
downloadrtems-87a9552691924008fc1c65647129fefe3c2465f4.tar.bz2
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.
-rw-r--r--ChangeLog10
-rw-r--r--aclocal/gcc-isystem.m425
2 files changed, 35 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a4255488d1..8dde88711a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+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.
+
2003-06-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/local.am: Remove $(ARCH), clean-local.
diff --git a/aclocal/gcc-isystem.m4 b/aclocal/gcc-isystem.m4
new file mode 100644
index 0000000000..c230508208
--- /dev/null
+++ b/aclocal/gcc-isystem.m4
@@ -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*
+])])