# HG changeset patch # User Dan Nicolaescu # Date 1284982730 -10800 # Node ID a8b56c7dbb625e90607f54695d0282d66b97db86 # Parent e71c4e4a16d77df4e0575ff73af448e6bc4178ef 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. diff -r e71c4e4a16d7 -r a8b56c7dbb62 src/ChangeLog --- a/src/ChangeLog Mon Sep 20 14:32:26 2010 +0300 +++ b/src/ChangeLog Mon Sep 20 14:38:50 2010 +0300 @@ -1,5 +1,17 @@ 2010-09-20 Dan Nicolaescu + Remove HAVE_TERMIOS definitions. + * s/usg5-4-common.h (HAVE_TERMIOS): + * s/template.h (HAVE_TERMIOS): + * s/gnu-linux.h (HAVE_TERMIOS): + * s/darwin.h (HAVE_TERMIOS): + * s/cygwin.h (HAVE_TERMIOS): + * s/bsd-common.h (HAVE_TERMIOS): + * s/aix4-2.h (HAVE_TERMIOS): + * 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. + * xterm.c (xt_action_hook): Use const. 2010-09-20 Juanma Barranquero diff -r e71c4e4a16d7 -r a8b56c7dbb62 src/s/aix4-2.h --- a/src/s/aix4-2.h Mon Sep 20 14:32:26 2010 +0300 +++ b/src/s/aix4-2.h Mon Sep 20 14:38:50 2010 +0300 @@ -37,10 +37,6 @@ #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 -r e71c4e4a16d7 -r a8b56c7dbb62 src/s/bsd-common.h --- a/src/s/bsd-common.h Mon Sep 20 14:32:26 2010 +0300 +++ b/src/s/bsd-common.h Mon Sep 20 14:38:50 2010 +0300 @@ -42,7 +42,6 @@ #undef KERNEL_FILE #undef LDAV_SYMBOL -#define HAVE_TERMIOS #define NO_TERMIO /* If the system's imake configuration file defines `NeedWidePrototypes' diff -r e71c4e4a16d7 -r a8b56c7dbb62 src/s/cygwin.h --- a/src/s/cygwin.h Mon Sep 20 14:32:26 2010 +0300 +++ b/src/s/cygwin.h Mon Sep 20 14:38:50 2010 +0300 @@ -45,16 +45,6 @@ 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 -r e71c4e4a16d7 -r a8b56c7dbb62 src/s/darwin.h --- a/src/s/darwin.h Mon Sep 20 14:32:26 2010 +0300 +++ b/src/s/darwin.h Mon Sep 20 14:38:50 2010 +0300 @@ -63,15 +63,6 @@ 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 -r e71c4e4a16d7 -r a8b56c7dbb62 src/s/gnu-linux.h --- a/src/s/gnu-linux.h Mon Sep 20 14:32:26 2010 +0300 +++ b/src/s/gnu-linux.h Mon Sep 20 14:38:50 2010 +0300 @@ -80,10 +80,6 @@ #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 -r e71c4e4a16d7 -r a8b56c7dbb62 src/s/hpux10-20.h --- a/src/s/hpux10-20.h Mon Sep 20 14:32:26 2010 +0300 +++ b/src/s/hpux10-20.h Mon Sep 20 14:38:50 2010 +0300 @@ -35,11 +35,8 @@ 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 @@ 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 -r e71c4e4a16d7 -r a8b56c7dbb62 src/s/template.h --- a/src/s/template.h Mon Sep 20 14:32:26 2010 +0300 +++ b/src/s/template.h Mon Sep 20 14:38:50 2010 +0300 @@ -63,18 +63,6 @@ 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 -r e71c4e4a16d7 -r a8b56c7dbb62 src/s/usg5-4-common.h --- a/src/s/usg5-4-common.h Mon Sep 20 14:32:26 2010 +0300 +++ b/src/s/usg5-4-common.h Mon Sep 20 14:38:50 2010 +0300 @@ -31,10 +31,6 @@ 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 @@ /* 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