From 7a9280174ac3e587a301bf7f8a5165a3ad8048fb Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 12 Jun 2003 06:28:16 +0000 Subject: 2003-06-12 Ralf Corsepius * 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. --- aclocal/prog-cc.m4 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'aclocal') diff --git a/aclocal/prog-cc.m4 b/aclocal/prog-cc.m4 index 4ed2f5730c..24a9d842a1 100644 --- a/aclocal/prog-cc.m4 +++ b/aclocal/prog-cc.m4 @@ -26,14 +26,23 @@ AC_DEFUN(RTEMS_PROG_CC_FOR_TARGET, [ dnl check target cc RTEMS_PROG_CC -dnl check if the compiler supports --specs -RTEMS_GCC_SPECS +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" +dnl check if the compiler supports --specs +RTEMS_GCC_SPECS + if test "$GCC" = yes; then RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall" m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"]) fi + +AS_IF([test x"$rtems_cv_gcc_isystem" = x"yes"],[ + RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"],[ + RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)" +]) +AC_SUBST(RTEMS_CPPFLAGS) ]) -- cgit v1.2.3