Remove src/s/usg5-4-common.h
authorGlenn Morris <rgm@gnu.org>
Tue, 31 Jul 2012 06:43:37 +0000 (23:43 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 31 Jul 2012 06:43:37 +0000 (23:43 -0700)
* configure.ac (USG5_4): Reintroduce this.
(opsysfile): Set to empty on irix6-5, sol2*, and unixware.

* src/conf_post.h [USG5_4]: Move remaining contents of s/usg5-4-common.h here.
* src/s/usg5-4-common.h: Remove file.

ChangeLog
configure.ac
src/ChangeLog
src/conf_post.h
src/s/usg5-4-common.h [deleted file]

index d919239..d1fe008 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-07-31  Glenn Morris  <rgm@gnu.org>
 
+       * configure.ac (USG5_4): Reintroduce this.
+       (opsysfile): Set to empty on irix6-5, sol2*, and unixware.
+
        * configure.ac (wait3, WRETCODE): Move here from src/s/usg5-4-common.h.
 
        * configure.ac (opsysfile): Set to empty on hpux*, darwin;
index 3007f79..a5a59f9 100644 (file)
@@ -3685,6 +3685,7 @@ AH_TEMPLATE(BSD4_2, [Define if the system is compatible with BSD 4.2.])
 AH_TEMPLATE(BSD_SYSTEM, [Define if the system is compatible with BSD 4.2.])
 AH_TEMPLATE(USG, [Define if the system is compatible with System III.])
 AH_TEMPLATE(USG5, [Define if the system is compatible with System V.])
+AH_TEMPLATE(USG5_4, [Define if the system is compatible with System V Release 4.])
 
 case $opsys in
   aix4-2)
@@ -3748,23 +3749,26 @@ case $opsys in
     ;;
 
   irix6-5)
-    opsysfile="s/usg5-4-common.h"
+    opsysfile=
     AC_DEFINE(USG, [])
     AC_DEFINE(USG5, [])
+    AC_DEFINE(USG5_4, [])
     AC_DEFINE(IRIX6_5, [], [Define if the system is IRIX.])
     ;;
 
   sol2*)
-    opsysfile="s/usg5-4-common.h"
+    opsysfile=
     AC_DEFINE(USG, [])
     AC_DEFINE(USG5, [])
+    AC_DEFINE(USG5_4, [])
     AC_DEFINE(SOLARIS2, [], [Define if the system is Solaris.])
     ;;
 
   unixware)
-    opsysfile="s/usg5-4-common.h"
+    opsysfile=
     AC_DEFINE(USG, [])
     AC_DEFINE(USG5, [])
+    AC_DEFINE(USG5_4, [])
     ;;
 esac
 
index 12afc8d..7db8914 100644 (file)
 
        * s/usg5-4-common.h (wait3, WRETCODE): Let configure set them.
 
+       * conf_post.h [USG5_4]:
+       Move remaining contents of s/usg5-4-common.h here.
+       * s/usg5-4-common.h: Remove file.
+
        * conf_post.h [IRIX6_5]: Move remaining contents of s/irix6-5.h here.
        * s/irix6-5.h: Remove file.
 
index 32fdc89..f84d6ae 100644 (file)
@@ -84,7 +84,23 @@ char *_getpty();
 #endif
 
 #undef SA_RESTART     /* not the same as defining BROKEN_SA_RESTART */
+#endif /* IRIX6_5 */
+
+#ifdef USG5_4
+/* Get FIONREAD from <sys/filio.h>.  Get <sys/ttold.h> to get struct tchars.
+   But get <termio.h> first to make sure ttold.h doesn't interfere.  */
+#include <sys/wait.h>
+
+#ifdef emacs
+#include <sys/filio.h>
+#include <termio.h>
+#include <sys/ttold.h>
+#include <signal.h>
+#include <sys/stream.h>
+#include <sys/stropts.h>
+#include <sys/termios.h>
 #endif
+#endif  /* USG5_4 */
 
 /* Define AMPERSAND_FULL_NAME if you use the convention
    that & in the full name stands for the login id.  */
diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h
deleted file mode 100644 (file)
index 1b545aa..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/* Definitions file for GNU Emacs running on AT&T's System V Release 4
-
-Copyright (C) 1987, 1990, 1999-2012  Free Software Foundation, Inc.
-
-Written by James Van Artsdalen of Dell Computer Corp. james@bigtex.cactus.org.
-Subsequently improved for Dell 2.2 by Eric S. Raymond <esr@snark.thyrsus.com>.
-
-This file is part of GNU Emacs.
-
-GNU Emacs is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-GNU Emacs is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
-
-/* Get FIONREAD from <sys/filio.h>.  Get <sys/ttold.h> to get struct tchars.
-   But get <termio.h> first to make sure ttold.h doesn't interfere.  */
-#include <sys/wait.h>
-
-#ifdef emacs
-#include <sys/filio.h>
-#include <termio.h>
-#include <sys/ttold.h>
-#include <signal.h>
-#include <sys/stream.h>
-#include <sys/stropts.h>
-#include <sys/termios.h>
-#endif