aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-06-12 15:03:32 -0400
committerGlenn Morris2012-06-12 15:03:32 -0400
commitb4492cba7a034185fecea38790b58c20667bfee0 (patch)
treefb42ad9843821c350a91a93e143369fd098bbdb4
parent8a07a8c6fe3c0ed64d0dbbc1c9789ce970341fdb (diff)
downloademacs-b4492cba7a034185fecea38790b58c20667bfee0.tar.gz
emacs-b4492cba7a034185fecea38790b58c20667bfee0.zip
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.
-rw-r--r--ChangeLog3
-rw-r--r--configure.in37
-rw-r--r--src/ChangeLog4
-rw-r--r--src/s/gnu-linux.h3
-rw-r--r--src/s/sol2-10.h10
5 files changed, 33 insertions, 24 deletions
diff --git a/ChangeLog b/ChangeLog
index 8863a763076..9a66d00c9e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
12012-06-12 Glenn Morris <rgm@gnu.org> 12012-06-12 Glenn Morris <rgm@gnu.org>
2 2
3 * configure.in (HAVE_PROCFS, _STRUCTURED_PROC): New AC_DEFINEs.
4 (opsysfile): Set specially for sol2-10.
5
3 * configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS): 6 * configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS):
4 New AC_DEFINEs, for hpux11. 7 New AC_DEFINEs, for hpux11.
5 (opsysfile): Set specially for hpux11. 8 (opsysfile): Set specially for hpux11.
diff --git a/configure.in b/configure.in
index dea8c96591b..1f18937dbd9 100644
--- a/configure.in
+++ b/configure.in
@@ -3125,19 +3125,36 @@ case $opsys in
3125 ;; 3125 ;;
3126esac 3126esac
3127 3127
3128if test "$opsys" = hpux11; then 3128case $opsys in
3129 dnl SA_RESTART resets the timeout of `select', so don't use it. 3129 gnu-* | sol2-10 )
3130 AC_DEFINE(BROKEN_SA_RESTART, 1, [Define if SA_RESTART should not be used.]) 3130 dnl FIXME Can't we test if this exists (eg /proc/$$)?
3131 dnl It works to open the pty's tty in the parent (Emacs), then close 3131 AC_DEFINE(HAVE_PROCFS, 1, [Define if you have the /proc filesystem.])
3132 dnl and reopen it in the child. 3132 ;;
3133 AC_DEFINE(USG_SUBTTY_WORKS, 1, [Define for USG systems where it 3133esac
3134 works to open a pty's tty in the parent process, then close and 3134
3135 reopen it in the child.]) 3135case $opsys in
3136fi 3136 hpux11)
3137 dnl SA_RESTART resets the timeout of `select', so don't use it.
3138 AC_DEFINE(BROKEN_SA_RESTART, 1, [Define if SA_RESTART should not
3139 be used.])
3140 dnl It works to open the pty's tty in the parent (Emacs), then
3141 dnl close and reopen it in the child.
3142 AC_DEFINE(USG_SUBTTY_WORKS, 1, [Define for USG systems where it
3143 works to open a pty's tty in the parent process, then close and
3144 reopen it in the child.])
3145
3146 opsysfile="s/hpux10-20.h"
3147 ;;
3148
3149 sol2-10)
3150 AC_DEFINE(_STRUCTURED_PROC, 1, [Needed for system_process_attributes
3151 on Solaris.])
3152 opsysfile="s/sol2-6.h"
3153 ;;
3154esac
3137 3155
3138case $opsys in 3156case $opsys in
3139 gnu-kfreebsd) opsysfile="s/gnu-linux.h" ;; 3157 gnu-kfreebsd) opsysfile="s/gnu-linux.h" ;;
3140 hpux11) opsysfile="s/hpux10-20.h" ;;
3141 openbsd) opsysfile="s/netbsd.h" ;; 3158 openbsd) opsysfile="s/netbsd.h" ;;
3142esac 3159esac
3143 3160
diff --git a/src/ChangeLog b/src/ChangeLog
index 935d9f93c8b..cd5c96cf36e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,8 @@
12012-06-12 Glenn Morris <rgm@gnu.org> 12012-06-12 Glenn Morris <rgm@gnu.org>
2 2
3 * s/gnu-kfreebsd.h, s/hpux11.h, s/openbsd.h: Remove files. 3 * s/gnu-kfreebsd.h, s/hpux11.h, s/openbsd.h, s/sol2-10.h: Remove files.
4
5 * s/gnu-linux.h (HAVE_PROCFS): Move to configure.
4 6
5 * s/hpux10-20.h, s/openbsd.h, s/usg5-4-common.h: 7 * s/hpux10-20.h, s/openbsd.h, s/usg5-4-common.h:
6 Move BROKEN_SIGIO to configure. 8 Move BROKEN_SIGIO to configure.
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 20ce65207a1..e3d43249d81 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -81,9 +81,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
81 81
82#define HAVE_SOCKETS 82#define HAVE_SOCKETS
83 83
84/* This is used in list_system_processes. */
85#define HAVE_PROCFS 1
86
87/* Define CLASH_DETECTION if you want lock files to be written 84/* Define CLASH_DETECTION if you want lock files to be written
88 so that Emacs can tell instantly when you try to modify 85 so that Emacs can tell instantly when you try to modify
89 a file that someone else has modified in his Emacs. */ 86 a file that someone else has modified in his Emacs. */
diff --git a/src/s/sol2-10.h b/src/s/sol2-10.h
deleted file mode 100644
index b20476e7fba..00000000000
--- a/src/s/sol2-10.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Handle Solaris 2.10. */
2
3#include "sol2-6.h"
4
5/* This is used in list_system_processes. */
6#define HAVE_PROCFS 1
7
8/* This is needed for the system_process_attributes implementation. */
9#define _STRUCTURED_PROC 1
10