emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108583: Remove src/s/sol2-10.h


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r108583: Remove src/s/sol2-10.h
Date: Fri, 02 Nov 2012 01:48:46 -0000
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108583
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2012-06-12 15:03:32 -0400
message:
  Remove src/s/sol2-10.h
  
  * configure.in (HAVE_PROCFS, _STRUCTURED_PROC): New AC_DEFINEs.
  (opsysfile): Set specially for sol2-10.
  
  * src/s/gnu-linux.h (HAVE_PROCFS): Move to configure.
  
  * src/s/sol2-10.h: Remove file.
removed:
  src/s/sol2-10.h
modified:
  ChangeLog
  configure.in
  src/ChangeLog
  src/s/gnu-linux.h
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-06-12 18:44:31 +0000
+++ b/ChangeLog 2012-06-12 19:03:32 +0000
@@ -1,5 +1,8 @@
 2012-06-12  Glenn Morris  <address@hidden>
 
+       * configure.in (HAVE_PROCFS, _STRUCTURED_PROC): New AC_DEFINEs.
+       (opsysfile): Set specially for sol2-10.
+
        * configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS):
        New AC_DEFINEs, for hpux11.
        (opsysfile): Set specially for hpux11.

=== modified file 'configure.in'
--- a/configure.in      2012-06-12 18:44:31 +0000
+++ b/configure.in      2012-06-12 19:03:32 +0000
@@ -3125,19 +3125,36 @@
   ;;
 esac
 
-if test "$opsys" = hpux11; then
-  dnl SA_RESTART resets the timeout of `select', so don't use it.
-  AC_DEFINE(BROKEN_SA_RESTART, 1, [Define if SA_RESTART should not be used.])
-  dnl It works to open the pty's tty in the parent (Emacs), then close
-  dnl and reopen it in the child.
-  AC_DEFINE(USG_SUBTTY_WORKS, 1, [Define for USG systems where it
-  works to open a pty's tty in the parent process, then close and
-  reopen it in the child.])
-fi
+case $opsys in
+  gnu-* | sol2-10 )
+    dnl FIXME Can't we test if this exists (eg /proc/$$)?
+    AC_DEFINE(HAVE_PROCFS, 1, [Define if you have the /proc filesystem.])
+  ;;
+esac
+
+case $opsys in
+     hpux11)
+       dnl SA_RESTART resets the timeout of `select', so don't use it.
+       AC_DEFINE(BROKEN_SA_RESTART, 1, [Define if SA_RESTART should not
+         be used.])
+       dnl It works to open the pty's tty in the parent (Emacs), then
+       dnl close and reopen it in the child.
+       AC_DEFINE(USG_SUBTTY_WORKS, 1, [Define for USG systems where it
+         works to open a pty's tty in the parent process, then close and
+         reopen it in the child.])
+
+       opsysfile="s/hpux10-20.h"
+     ;;
+
+     sol2-10)
+       AC_DEFINE(_STRUCTURED_PROC, 1, [Needed for system_process_attributes
+         on Solaris.])
+       opsysfile="s/sol2-6.h"
+     ;;
+esac
 
 case $opsys in
   gnu-kfreebsd) opsysfile="s/gnu-linux.h" ;;
-  hpux11) opsysfile="s/hpux10-20.h" ;;
   openbsd) opsysfile="s/netbsd.h" ;;
 esac
 

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-06-12 18:44:31 +0000
+++ b/src/ChangeLog     2012-06-12 19:03:32 +0000
@@ -1,6 +1,8 @@
 2012-06-12  Glenn Morris  <address@hidden>
 
-       * s/gnu-kfreebsd.h, s/hpux11.h, s/openbsd.h: Remove files.
+       * s/gnu-kfreebsd.h, s/hpux11.h, s/openbsd.h, s/sol2-10.h: Remove files.
+
+       * s/gnu-linux.h (HAVE_PROCFS): Move to configure.
 
        * s/hpux10-20.h, s/openbsd.h, s/usg5-4-common.h:
        Move BROKEN_SIGIO to configure.

=== modified file 'src/s/gnu-linux.h'
--- a/src/s/gnu-linux.h 2012-06-11 23:17:11 +0000
+++ b/src/s/gnu-linux.h 2012-06-12 19:03:32 +0000
@@ -81,9 +81,6 @@
 
 #define HAVE_SOCKETS
 
-/* This is used in list_system_processes.  */
-#define HAVE_PROCFS 1
-
 /* Define CLASH_DETECTION if you want lock files to be written
    so that Emacs can tell instantly when you try to modify
    a file that someone else has modified in his Emacs.  */

=== removed file 'src/s/sol2-10.h'
--- a/src/s/sol2-10.h   2011-01-15 23:16:57 +0000
+++ b/src/s/sol2-10.h   1970-01-01 00:00:00 +0000
@@ -1,10 +0,0 @@
-/* Handle Solaris 2.10.  */
-
-#include "sol2-6.h"
-
-/* This is used in list_system_processes.  */
-#define HAVE_PROCFS 1
-
-/* This is needed for the system_process_attributes implementation.  */
-#define _STRUCTURED_PROC 1
-


reply via email to

[Prev in Thread] Current Thread [Next in Thread]