mirror of
https://github.com/PDP-10/klh10.git
synced 2026-04-16 08:27:09 +00:00
Express CENV_SYSF_TERMIOS as HAVE_TERMIOS_H && HAVE_TCSETATTR.
This commit is contained in:
@@ -71,8 +71,8 @@ AC_FUNC_MALLOC
|
||||
AC_FUNC_REALLOC
|
||||
AC_CHECK_FUNCS([alarm dup2 gettimeofday localtime_r memset socket strcasecmp \
|
||||
strchr strcspn strerror strncasecmp strpbrk strrchr strtol \
|
||||
getifaddrs if_nameindex termios sigaction nanosleep \
|
||||
gettimeofday getrusage setitimer])
|
||||
getifaddrs if_nameindex sigaction nanosleep \
|
||||
gettimeofday getrusage setitimer tcsetattr])
|
||||
|
||||
# Check for CPU.
|
||||
# This requires install-sh, config.sub, config.guess from automake.
|
||||
|
||||
@@ -216,8 +216,7 @@
|
||||
This only has features of interest for KLH10 software.
|
||||
*/
|
||||
#ifndef CENV_SYSF_TERMIOS /* Has termios(3) tty stuff */
|
||||
# define CENV_SYSF_TERMIOS (CENV_SYS_DECOSF|CENV_SYS_SOLARIS|CENV_SYS_XBSD \
|
||||
|CENV_SYS_LINUX)
|
||||
# define CENV_SYSF_TERMIOS (HAVE_TERMIOS_H && HAVE_TCSETATTR)
|
||||
#endif
|
||||
#ifndef CENV_SYSF_BSDTTY /* Has old BSD tty stuff */
|
||||
# define CENV_SYSF_BSDTTY (!CENV_SYSF_TERMIOS && CENV_SYS_BSD)
|
||||
|
||||
Reference in New Issue
Block a user