Changeset c707861 in rtems
- Timestamp:
- 12/06/02 06:25:58 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- f69283e2
- Parents:
- 382e1eb3
- Location:
- cpukit/libcsupport
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libcsupport/ChangeLog
r382e1eb3 rc707861 1 2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 3 * configure.ac: Add various checks to enhance portability. 4 * src/termios.c: Reflect changes to configure.ac. 5 1 6 2002-12-02 Joel Sherrill <joel@OARcorp.com> 2 7 -
cpukit/libcsupport/configure.ac
r382e1eb3 rc707861 44 44 AC_CHECK_DECLS([CHAR_BIT],,,[#include <limits.h>]) 45 45 46 AS_IF([test x"${RTEMS_USE_NEWLIB}" = x"yes"],[ 47 ac_cv_have_decl_XTABS=yes 48 ac_cv_have_decl_OLCUC=yes 49 ## SUSV3, but seemingly not available on some platforms (reportedly FreeBSD) 50 ac_cv_have_decl_ONLRET=yes 51 ac_cv_have_decl_ONOCR=yes 52 ac_cv_have_decl_TABDLY=yes 53 ac_cv_have_decl_OCRNL=yes 54 ac_cv_have_decl_IUCLC=yes 55 ## SUSV3-XSI extension 56 ac_cv_have_decl_ECHOPRT=yes 57 ]) 58 59 # FIXME: Some cruft to work around portability issues with termios.c 60 ## Seemingly not covered by any standard. 61 AC_CHECK_DECLS([XTABS],,,[#include <termios.h>]) 62 AC_CHECK_DECLS([OLCUC],,,[#include <termios.h>]) 63 ## SUSV3, but seemingly not available on some platforms (reportedly FreeBSD) 64 AC_CHECK_DECLS([ONLRET],,,[#include <termios.h>]) 65 AC_CHECK_DECLS([ONOCR],,,[#include <termios.h>]) 66 AC_CHECK_DECLS([TABDLY],,,[#include <termios.h>]) 67 AC_CHECK_DECLS([OCRNL],,,[#include <termios.h>]) 68 AC_CHECK_DECLS([IUCLC],,,[#include <termios.h>]) 69 ## SUSV3-XSI extension 70 AC_CHECK_DECLS([ECHOPRT],,,[#include <termios.h>]) 71 72 ## BSD-ism, excluded from POSIX, but available on most platforms 73 AC_CHECK_DECLS([sbrk],,,[#include <unistd.h>]) 74 46 75 AM_CONDITIONAL([NEED_SYS_CDEFS_H],[test x"$NEED_SYS_CDEFS_H" = x"yes"]) 47 76 -
cpukit/libcsupport/src/termios.c
r382e1eb3 rc707861 35 35 * FreeBSD does not support a full POSIX termios so we have to help it out 36 36 */ 37 38 #if defined(__FreeBSD__) 37 #if !HAVE_DECL_XTABS 39 38 #define XTABS 0 39 #endif 40 41 #if !HAVE_DECL_ONLRET 40 42 #define ONLRET 0 41 #define ONOCR 0 43 #endif 44 #if !HAVE_DECL_ONOCR 45 #define ONOCR 0 46 #endif 47 #if !HAVE_DECL_TABDLY 42 48 #define TABDLY 0 43 #define OLCUC 0 44 #define ILCUC 0 45 #define OCRNL 0 49 #endif 50 #if !HAVE_DECL_OLCUC 51 #define OLCUC 0 52 #endif 53 #if !HAVE_DECL_ILCUC 54 #define ILCUC 0 55 #endif 56 #if !HAVE_DECL_OCRNL 57 #define OCRNL 0 58 #endif 59 #if !HAVE_DECL_IUCLC 46 60 #define IUCLC 0 47 61 #endif 48 62 49 /* 50 * Cygwin does not define these 51 */ 52 53 #if defined(__CYGWIN__) 63 #if !HAVE_DECL_ECHOPRT 54 64 #define ECHOPRT 0 55 65 #endif
Note: See TracChangeset
for help on using the changeset viewer.