Changeset 7a928017 in rtems for aclocal/prog-cc.m4


Ignore:
Timestamp:
Jun 12, 2003, 6:28:16 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6381642a
Parents:
87a95526
Message:

2003-06-12 Ralf Corsepius <corsepiu@…>

  • 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/prog-cc.m4

    r87a95526 r7a928017  
    2727dnl check target cc
    2828RTEMS_PROG_CC
    29 dnl check if the compiler supports --specs
    30 RTEMS_GCC_SPECS
     29dnl check if the compiler supports -isystem
     30RTEMS_GCC_ISYSTEM
    3131dnl check if the target compiler may use --pipe
    3232RTEMS_GCC_PIPE
    3333test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
     34
     35dnl check if the compiler supports --specs
     36RTEMS_GCC_SPECS
    3437
    3538if test "$GCC" = yes; then
     
    3740m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"])
    3841fi
     42
     43AS_IF([test x"$rtems_cv_gcc_isystem" = x"yes"],[
     44  RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"],[
     45  RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)"
    3946])
     47AC_SUBST(RTEMS_CPPFLAGS)
     48])
Note: See TracChangeset for help on using the changeset viewer.