Changeset 07da959 in rtems


Ignore:
Timestamp:
Jul 8, 2003, 3:27:02 PM (19 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b5825ab
Parents:
44c889a
Message:

2003-07-08 Ralf Corsepius <corsepiu@…>

  • configure.ac: Merge-in libcsupport/configure.ac.
  • Makefile.am: Add libcsupport to SUBDIRS.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r44c889a r07da959  
     12003-07-08      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * configure.ac: Merge-in libcsupport/configure.ac.
     4        * Makefile.am: Add libcsupport to SUBDIRS.
     5
    162003-07-08      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/Makefile.am

    r44c889a r07da959  
    88
    99SUBDIRS = . include ada score rtems sapi posix itron
    10 SUBDIRS += libblock libfs
     10SUBDIRS += libcsupport libblock libfs
    1111SUBDIRS += libnetworking
    1212SUBDIRS += @subdirs@
  • cpukit/configure.ac

    r44c889a r07da959  
    4949
    5050RTEMS_CPU_SUBDIRS([score/cpu])
    51 AC_CONFIG_SUBDIRS([libcsupport])
    5251
    5352AS_IF([test x"$HAS_NETWORKING" = x"yes"],[
     
    6463  ])
    6564])
     65
    6666AC_ARG_ENABLE([ada],
    6767[AC_HELP_STRING([--enable-ada],[enable ada support])],
     
    8282  test -n "${enable_unixlib}" || enable_unixlib="yes"
    8383])
    84 
    8584
    8685AS_IF([test x"${enable_unixlib}" = x"yes"],
     
    152151])
    153152
     153AS_IF([test x"$RTEMS_USE_NEWLIB" != x"yes"],[
     154## Provide headers only if the host doesn't.
     155  AC_CHECK_HEADERS([sys/cdefs.h],[NEED_SYS_CDEFS_H=no],[NEED_SYS_CDEFS_H=yes])
     156  AC_CHECK_HEADERS([stdint.h],[NEED_STDINT_H=no],[NEED_STDINT_H=yes])
     157  AC_CHECK_HEADERS([inttypes.h],[NEED_INTTYPES_H=no],[NEED_INTTYPES=yes])
     158],[
     159## Using newlib, we provide sys/cdefs.h
     160  NEED_SYS_CDEFS_H=yes
     161  NEED_STDINT_H=yes
     162  NEED_INTTYPES_H=yes
     163])
     164
     165# FIXME: These checks are only in here to provide
     166# configuration-time diagnostics and are not really used.
     167AC_CHECK_DECLS([_POSIX_LOGIN_NAME_MAX],,,[#include <limits.h>])
     168AC_CHECK_DECLS([CHAR_BIT],,,[#include <limits.h>])
     169
     170AS_IF([test x"${RTEMS_USE_NEWLIB}" = x"yes"],[
     171ac_cv_have_decl_XTABS=yes
     172ac_cv_have_decl_OLCUC=yes
     173## SUSV3, but seemingly not available on some platforms (reportedly FreeBSD)
     174ac_cv_have_decl_ONLRET=yes
     175ac_cv_have_decl_ONOCR=yes
     176ac_cv_have_decl_TABDLY=yes
     177ac_cv_have_decl_OCRNL=yes
     178ac_cv_have_decl_IUCLC=yes
     179## SUSV3-XSI extension
     180ac_cv_have_decl_ECHOPRT=yes
     181])
     182
     183# FIXME: Some cruft to work around portability issues with termios.c
     184## Seemingly not covered by any standard.
     185AC_CHECK_DECLS([XTABS],,,[#include <termios.h>])
     186AC_CHECK_DECLS([OLCUC],,,[#include <termios.h>])
     187## SUSV3, but seemingly not available on some platforms (reportedly FreeBSD)
     188AC_CHECK_DECLS([ONLRET],,,[#include <termios.h>])
     189AC_CHECK_DECLS([ONOCR],,,[#include <termios.h>])
     190AC_CHECK_DECLS([TABDLY],,,[#include <termios.h>])
     191AC_CHECK_DECLS([OCRNL],,,[#include <termios.h>])
     192AC_CHECK_DECLS([IUCLC],,,[#include <termios.h>])
     193## SUSV3-XSI extension
     194AC_CHECK_DECLS([ECHOPRT],,,[#include <termios.h>])
     195
     196## BSD-ism, excluded from POSIX, but available on most platforms
     197AC_CHECK_DECLS([sbrk],,,[#include <unistd.h>])
     198
     199## Check if libc provides BSD's strlcpy/strlcat
     200AC_CHECK_FUNCS(strlcpy strlcat)
     201
     202
     203# ... far too many conditionals ...
    154204AM_CONDITIONAL(LIBRPC,[test "$LIBRPC" = "yes"])
    155205AM_CONDITIONAL(UNIX,[test x"${RTEMS_CPU}" = x"unix"])
     206AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes")
    156207
    157208AM_CONDITIONAL(INLINE,test x"$INLINEdir" = x"inline" )
     
    169220AM_CONDITIONAL(RTEMS_ADA,[test x"$enable_ada" = x"yes" \
    170221  && test x"$HAS_POSIX_API" = x"yes"])
     222
     223AM_CONDITIONAL([NEED_SYS_CDEFS_H],[test x"$NEED_SYS_CDEFS_H" = x"yes"])
     224AM_CONDITIONAL([NEED_STDINT_H],[test x"$NEED_STDINT_H" = x"yes"])
     225AM_CONDITIONAL([NEED_INTTYPES_H],[test x"$NEED_INTTYPES_H" = x"yes"])
    171226
    172227AM_CONDITIONAL([LIBSHELL],[test x"$HAVE_ASSIGNABLE_STDIO" = x"yes"])
     
    189244libfs/src/imfs/Makefile
    190245libfs/src/dosfs/Makefile
     246libcsupport/Makefile
    191247libnetworking/Makefile
    192248libnetworking/lib/Makefile
Note: See TracChangeset for help on using the changeset viewer.