From 6553950651fdac87d3273885fc4ac2ecf00f8cfd Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Mon, 20 Sep 2010 14:38:50 +0300 Subject: Remove HAVE_TERMIOS definitions. * src/s/usg5-4-common.h (HAVE_TERMIOS): * src/s/template.h (HAVE_TERMIOS): * src/s/gnu-linux.h (HAVE_TERMIOS): * src/s/darwin.h (HAVE_TERMIOS): * src/s/cygwin.h (HAVE_TERMIOS): * src/s/bsd-common.h (HAVE_TERMIOS): * src/s/aix4-2.h (HAVE_TERMIOS): * src/s/hpux10-20.h (HAVE_TERMIOS): Do not define, it is assumed defined on all non-MS platforms. (HAVE_PSTAT_GETDYNAMIC): Do not define, autoconf does it. --- src/s/aix4-2.h | 4 ---- src/s/bsd-common.h | 1 - src/s/cygwin.h | 10 ---------- src/s/darwin.h | 9 --------- src/s/gnu-linux.h | 4 ---- src/s/hpux10-20.h | 6 ------ src/s/template.h | 12 ------------ src/s/usg5-4-common.h | 5 ----- 8 files changed, 51 deletions(-) (limited to 'src/s') diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index 0a3d48db63..2970202864 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h @@ -37,10 +37,6 @@ along with GNU Emacs. If not, see . */ #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc"); #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd)); -/* Define HAVE_TERMIO if the system provides sysV-style ioctls - for terminal control. */ -#define HAVE_TERMIOS - /* Define HAVE_PTYS if the system supports pty devices. */ #define HAVE_PTYS diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h index bf78f4ec34..b17ca7a012 100644 --- a/src/s/bsd-common.h +++ b/src/s/bsd-common.h @@ -42,7 +42,6 @@ along with GNU Emacs. If not, see . */ #undef KERNEL_FILE #undef LDAV_SYMBOL -#define HAVE_TERMIOS #define NO_TERMIO /* If the system's imake configuration file defines `NeedWidePrototypes' diff --git a/src/s/cygwin.h b/src/s/cygwin.h index 1b78ada53b..4d58542e66 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h @@ -45,16 +45,6 @@ along with GNU Emacs. If not, see . */ through a pipe. */ #undef INTERRUPT_INPUT -/* Define HAVE_TERMIOS if the system provides POSIX-style - functions and macros for terminal control. - - Define HAVE_TERMIO if the system provides sysV-style ioctls - for terminal control. - - Do not define both. HAVE_TERMIOS is preferred, if it is - supported on your system. */ -#define HAVE_TERMIOS - /* Define HAVE_PTYS if the system supports pty devices. */ #define HAVE_PTYS #define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */ diff --git a/src/s/darwin.h b/src/s/darwin.h index 146bfd693a..73e1960227 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h @@ -63,15 +63,6 @@ along with GNU Emacs. If not, see . */ if system supports pty's. 'a' means it is /dev/ptya0 */ #define FIRST_PTY_LETTER 'p' -/* Define HAVE_TERMIOS if the system provides POSIX-style - functions and macros for terminal control. - - Define HAVE_TERMIO if the system provides sysV-style ioctls - for terminal control. - - Do not define both. HAVE_TERMIOS is preferred, if it is supported - on your system. */ -#define HAVE_TERMIOS #define NO_TERMIO /* Define HAVE_PTYS if the system supports pty devices. diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index cf3b307972..9327423b42 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h @@ -80,10 +80,6 @@ along with GNU Emacs. If not, see . */ #endif /* not HAVE_GRANTPT */ -/* Define HAVE_TERMIOS if the system provides POSIX-style - functions and macros for terminal control. */ -#define HAVE_TERMIOS - /* Define HAVE_PTYS if the system supports pty devices. */ #define HAVE_PTYS diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index d34ff16104..0932e6f711 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h @@ -35,11 +35,8 @@ along with GNU Emacs. If not, see . */ if system supports pty's. 'p' means it is /dev/ptym/ptyp0 */ #define FIRST_PTY_LETTER 'p' -#define HAVE_TERMIOS #define NO_TERMIO -#define ORDINARY_LINK - /* Define HAVE_PTYS if the system supports pty devices. */ #define HAVE_PTYS @@ -78,9 +75,6 @@ along with GNU Emacs. If not, see . */ HP-UX 10.20, and that it works for HP-UX 0 as well. */ #define NO_EDITRES -/* Tested in getloadavg.c. */ -#define HAVE_PSTAT_GETDYNAMIC - /* Eric Backus says, HP-UX 9.x on HP 700 machines has a broken `rint' in some library versions including math library version number A.09.05. diff --git a/src/s/template.h b/src/s/template.h index dd1e56f855..eb7ca85c5e 100644 --- a/src/s/template.h +++ b/src/s/template.h @@ -63,18 +63,6 @@ along with GNU Emacs. If not, see . */ if system supports pty's. 'a' means it is /dev/ptya0. */ #define FIRST_PTY_LETTER 'a' -/* Define HAVE_TERMIOS if the system provides POSIX-style - functions and macros for terminal control. - - Define HAVE_TERMIO if the system provides sysV-style ioctls - for terminal control. - - Do not define both. HAVE_TERMIOS is preferred, if it is - supported on your system. */ - -#define HAVE_TERMIOS -/* #define HAVE_TERMIO */ - /* Define HAVE_PTYS if the system supports pty devices. */ #define HAVE_PTYS diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h index 7ff5c6f7be..4dcb8e5020 100644 --- a/src/s/usg5-4-common.h +++ b/src/s/usg5-4-common.h @@ -31,10 +31,6 @@ along with GNU Emacs. If not, see . */ It sets the Lisp variable system-type. */ #define SYSTEM_TYPE "usg-unix-v" -/* Define HAVE_TERMIO if the system provides sysV-style ioctls - for terminal control. */ -#define HAVE_TERMIO - /* The file containing the kernel's symbol table is called /unix. */ #define KERNEL_FILE "/unix" @@ -78,7 +74,6 @@ along with GNU Emacs. If not, see . */ /* Define HAVE_PTYS if the system supports pty devices. */ #define HAVE_PTYS -#define HAVE_TERMIOS /* It is possible to receive SIGCHLD when there are no children waiting, because a previous waitsys(2) cleaned up the carcass of child -- cgit v1.2.3