From 7a17c3bc98ac54d4e6e271f113452ff51b69e18f Mon Sep 17 00:00:00 2001 From: short <> Date: Sun, 16 Dec 2001 20:31:54 +0000 Subject: [PATCH] Non-existence of _POSIX_VDISABLE is now non-fatal - not supported by uClinux, bugreport courtesy of James Pruett --- acconfig.h | 4 ++++ configure.in | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/acconfig.h b/acconfig.h index a366e48..c86d900 100644 --- a/acconfig.h +++ b/acconfig.h @@ -46,6 +46,10 @@ #undef HAVE_CRTSCTS #undef CRTSCTS +/* _POSIX_VDISABLE define, may be missing. */ +#undef HAVE__POSIX_VDISABLE +#undef _POSIX_VDISABLE + /* FD_SETSIZE define, may be missing. */ #undef HAVE_FD_SETSIZE diff --git a/configure.in b/configure.in index fc3b103..f4f8f57 100644 --- a/configure.in +++ b/configure.in @@ -151,6 +151,18 @@ AC_TRY_COMPILE([ fi ]) +AC_MSG_CHECKING([for _POSIX_VDISABLE]) +AC_TRY_COMPILE([ +#ifdef HAVE_UNISTD_H +#include +#endif +#ifdef HAVE_TERMIOS_H +#include +#endif], [_POSIX_VDISABLE;], + AC_DEFINE(HAVE__POSIX_VDISABLE) AC_MSG_RESULT(yes),[ + AC_DEFINE(_POSIX_VDISABLE, ['\0']) AC_MSG_RESULT(no) + ]) + AC_MSG_CHECKING([for FD_SETSIZE]) AC_TRY_COMPILE([ #ifdef HAVE_SYS_TIME_H -- 1.8.3.1