# HG changeset patch # User Dan Nicolaescu # Date 1273175207 25200 # Node ID de8de918fbab0e2e24cf1bc876cba54df7a9f96c # Parent 87980e1e35973a7ac872b837ee8146cf0a036fd1 Remove NEED_BSDTTY and NEED_UNISTD_H. * s/hpux10-20.h (NEED_BSDTTY): Remove. * s/aix4-2.h (NEED_UNISTD_H): Remove. * systty.h: Simplify conditionals for including , and . diff -r 87980e1e3597 -r de8de918fbab src/ChangeLog --- a/src/ChangeLog Thu May 06 12:40:02 2010 -0700 +++ b/src/ChangeLog Thu May 06 12:46:47 2010 -0700 @@ -1,5 +1,11 @@ 2010-05-06 Dan Nicolaescu + Remove NEED_BSDTTY and NEED_UNISTD_H. + * s/hpux10-20.h (NEED_BSDTTY): Remove. + * s/aix4-2.h (NEED_UNISTD_H): Remove. + * systty.h: Simplify conditionals for including , + and . + * emacs.c (main): Remove NO_DIR_LIBRARY conditional, unused. * Makefile.in (STARTFILES): Conditionally define to make the usage clear. diff -r 87980e1e3597 -r de8de918fbab src/s/aix4-2.h --- a/src/s/aix4-2.h Thu May 06 12:40:02 2010 -0700 +++ b/src/s/aix4-2.h Thu May 06 12:46:47 2010 -0700 @@ -109,9 +109,6 @@ It may not have been needed in certain earlier versions. */ #define HAVE_TCATTR -/* Include unistd.h, even though we don't define POSIX. */ -#define NEED_UNISTD_H - /* AIX doesn't define this. */ #define unix 1 diff -r 87980e1e3597 -r de8de918fbab src/s/hpux10-20.h --- a/src/s/hpux10-20.h Thu May 06 12:40:02 2010 -0700 +++ b/src/s/hpux10-20.h Thu May 06 12:46:47 2010 -0700 @@ -91,9 +91,6 @@ #define UNEXEC unexhp9k800.o -/* Include the file bsdtty.h, since this machine has job control. */ -#define NEED_BSDTTY - /* This is how to get the device name of the tty end of a pty. */ #define PTY_TTY_NAME_SPRINTF \ sprintf (pty_name, "/dev/pty/tty%c%x", c, i); diff -r 87980e1e3597 -r de8de918fbab src/systty.h --- a/src/systty.h Thu May 06 12:40:02 2010 -0700 +++ b/src/systty.h Thu May 06 12:46:47 2010 -0700 @@ -51,11 +51,8 @@ #include #endif -#ifdef NEED_BSDTTY +#ifdef HPUX #include -#endif - -#if defined (HPUX) && defined (HAVE_PTYS) #include #endif @@ -63,7 +60,7 @@ #include #endif /* AIX */ -#if (defined (POSIX) || defined (NEED_UNISTD_H)) && defined (HAVE_UNISTD_H) +#ifdef HAVE_UNISTD_H #include #endif