Changeset 6c39eca4 in rtems
- Timestamp:
- 11/18/02 23:53:14 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 97831b7
- Parents:
- 5395172
- Location:
- cpukit/libcsupport
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libcsupport/ChangeLog
r5395172 r6c39eca4 1 2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 3 * configure.ac: Check for sys/cdefs.h, Add NEED_SYS_CDEFS_H. 4 Add check for CHAR_BIT. 5 * Makefile.am: Conditionally install sys/cdefs.h iff using newlib or 6 if the host does not provide sys/cdefs.h (Fixes Linux/posix). 7 1 8 2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 9 -
cpukit/libcsupport/Makefile.am
r5395172 r6c39eca4 61 61 endif 62 62 63 if NEED_SYS_CDEFS_H 64 SYS_H_FILES = include/sys/cdefs.h 65 endif 66 63 67 # FIXME: We should not install to include/sys unless using newlib. 64 68 include_sys_HEADERS = \ … … 69 73 include/sys/termios.h \ 70 74 include/sys/ttycom.h \ 71 include/sys/cdefs.h\75 $(SYS_H_FILES) \ 72 76 $(NEWLIB_H_FILES) 73 77 -
cpukit/libcsupport/configure.ac
r5395172 r6c39eca4 27 27 AM_CONDITIONAL(UNIX,test x"$RTEMS_CPU" = x"unix") 28 28 AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes") 29 29 30 AS_IF([test x"$RTEMS_USE_NEWLIB" != x"yes"],[ 30 # FIXME: Currently, these checks are only in here to provide 31 ## Provide sys/cdefs.h only if the host doesn't. 32 AC_CHECK_HEADERS([sys/cdefs.h],[NEED_SYS_CDEFS_H=no],[NEED_SYS_CDEFS_H=yes]) 33 # FIXME: These checks are only in here to provide 31 34 # configuration-time diagnostics and are not really used. 32 AC_CHECK_HEADERS([sys/cdefs.h])33 35 AC_CHECK_HEADERS([stdint.h inttypes.h]) 34 AC_CHECK_DECLS([_POSIX_LOGIN_NAME_MAX],,,[#include <limits.h>]) 36 ],[ 37 ## Using newlib, we provide sys/cdefs.h 38 NEED_SYS_CDEFS_H=yes 35 39 ]) 40 41 # FIXME: These checks are only in here to provide 42 # configuration-time diagnostics and are not really used. 43 AC_CHECK_DECLS([_POSIX_LOGIN_NAME_MAX],,,[#include <limits.h>]) 44 AC_CHECK_DECLS([CHAR_BIT],,,[#include <limits.h>]) 45 46 AM_CONDITIONAL([NEED_SYS_CDEFS_H],[test x"$NEED_SYS_CDEFS_H" = x"yes"]) 47 36 48 AM_CONFIG_HEADER(src/config.h) 37 49
Note: See TracChangeset
for help on using the changeset viewer.