diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-06-12 06:28:16 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-06-12 06:28:16 +0000 |
commit | 7a9280174ac3e587a301bf7f8a5165a3ad8048fb (patch) | |
tree | 652b0706d61c92d4b77a620ad12b5d5f7ff4691a /aclocal/prog-cc.m4 | |
parent | 2003-06-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-7a9280174ac3e587a301bf7f8a5165a3ad8048fb.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.
Diffstat (limited to '')
-rw-r--r-- | aclocal/prog-cc.m4 | 13 |
1 files changed, 11 insertions, 2 deletions
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) ]) |