Changeset 62f0829 in rtems


Ignore:
Timestamp:
Oct 17, 2003, 8:17:55 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
85a488b
Parents:
17f1ffb
Message:

2003-10-17 Ralf Corsepius <corsepiu@…>

  • configure.ac: Check for sys/cdefs.h.
  • aclocal/env-rtems-cpu.m4: Add project_includedir. Deprecate PROJECT_INCLUDE. Change project_includedir to $(PROJECT_ROOT)/include for multilibs.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r17f1ffb r62f0829  
     12003-10-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * configure.ac: Check for sys/cdefs.h.
     4        * aclocal/env-rtems-cpu.m4: Add project_includedir.
     5        Deprecate PROJECT_INCLUDE.  Change project_includedir to
     6        $(PROJECT_ROOT)/include for multilibs.
     7
    182003-09-24      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    29
  • cpukit/aclocal/env-rtemscpu.m4

    r17f1ffb r62f0829  
    1515    AC_SUBST(MULTISUBDIR)
    1616 
    17     PROJECT_INCLUDE="\$(PROJECT_ROOT)/lib/include"
     17    project_includedir="\$(PROJECT_ROOT)/include"
    1818    project_libdir="\$(PROJECT_ROOT)/lib\$(MULTISUBDIR)"
    1919 
    20     includedir="\${exec_prefix}/lib/include"
     20    includedir="\${exec_prefix}/include"
    2121    libdir="${libdir}\$(MULTISUBDIR)"
    2222  ],
     
    4040    AC_SUBST(RTEMS_BSP)
    4141 
    42     PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
     42    project_includedir="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    4343    project_libdir="${PROJECT_ROOT}/$RTEMS_BSP/lib"   
    4444
     
    5252
    5353  AC_SUBST(project_libdir)
    54   AC_SUBST(PROJECT_INCLUDE)
     54  AC_SUBST(project_includedir)
     55
     56  # FIXME: Deprecated, to be removed
     57  AC_SUBST(PROJECT_INCLUDE,[$project_includedir])
    5558 
    5659  AM_CONDITIONAL([MULTILIB],[test x"$multilib" = x"yes"])
  • cpukit/configure.ac

    r17f1ffb r62f0829  
    148148])
    149149
     150AC_CHECK_HEADERS([sys/cdefs.h],[NEED_SYS_CDEFS_H=no],[NEED_SYS_CDEFS_H=yes])
     151AC_CHECK_HEADERS([sys/queue.h],[NEED_SYS_QUEUE_H=no],[NEED_SYS_QUEUE_H=yes])
     152
    150153AS_IF([test x"$RTEMS_USE_NEWLIB" != x"yes"],[
    151154## Provide headers only if the host doesn't.
    152   AC_CHECK_HEADERS([sys/cdefs.h],[NEED_SYS_CDEFS_H=no],[NEED_SYS_CDEFS_H=yes])
    153155  AC_CHECK_HEADERS([stdint.h],[NEED_STDINT_H=no],[NEED_STDINT_H=yes])
    154156  AC_CHECK_HEADERS([inttypes.h],[NEED_INTTYPES_H=no],[NEED_INTTYPES=yes])
    155157],[
    156158## Using newlib, we provide sys/cdefs.h
    157   NEED_SYS_CDEFS_H=yes
    158159  NEED_STDINT_H=yes
    159160  NEED_INTTYPES_H=yes
     
    219220
    220221AM_CONDITIONAL([NEED_SYS_CDEFS_H],[test x"$NEED_SYS_CDEFS_H" = x"yes"])
     222AM_CONDITIONAL([NEED_SYS_QUEUE_H],[test x"$NEED_SYS_QUEUE_H" = x"yes"])
    221223AM_CONDITIONAL([NEED_STDINT_H],[test x"$NEED_STDINT_H" = x"yes"])
    222224AM_CONDITIONAL([NEED_INTTYPES_H],[test x"$NEED_INTTYPES_H" = x"yes"])
Note: See TracChangeset for help on using the changeset viewer.