diff options
| author | Glenn Morris | 2012-06-12 14:44:31 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-06-12 14:44:31 -0400 |
| commit | 8a07a8c6fe3c0ed64d0dbbc1c9789ce970341fdb (patch) | |
| tree | 6dc27b5f46803f90cd15cca64f466070fbe8dce0 | |
| parent | ad4d226cb8e04acf5063f343772dcb3ba950849e (diff) | |
| download | emacs-8a07a8c6fe3c0ed64d0dbbc1c9789ce970341fdb.tar.gz emacs-8a07a8c6fe3c0ed64d0dbbc1c9789ce970341fdb.zip | |
Remove src/s/hpux11.h
* configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS): New AC_DEFINEs.
(opsysfile): Set specially for hpux11.
* src/s/hpux11.h: Remove file.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | configure.in | 11 | ||||
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/s/hpux11.h | 9 |
4 files changed, 18 insertions, 10 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-06-12 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS): | ||
| 4 | New AC_DEFINEs, for hpux11. | ||
| 5 | (opsysfile): Set specially for hpux11. | ||
| 6 | |||
| 1 | 2012-06-12 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2012-06-12 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | * configure.in: Coalesce some function checking. | 9 | * configure.in: Coalesce some function checking. |
diff --git a/configure.in b/configure.in index 0b4acaa5240..dea8c96591b 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -3125,8 +3125,19 @@ case $opsys in | |||
| 3125 | ;; | 3125 | ;; |
| 3126 | esac | 3126 | esac |
| 3127 | 3127 | ||
| 3128 | if test "$opsys" = hpux11; then | ||
| 3129 | dnl SA_RESTART resets the timeout of `select', so don't use it. | ||
| 3130 | AC_DEFINE(BROKEN_SA_RESTART, 1, [Define if SA_RESTART should not be used.]) | ||
| 3131 | dnl It works to open the pty's tty in the parent (Emacs), then close | ||
| 3132 | dnl and reopen it in the child. | ||
| 3133 | AC_DEFINE(USG_SUBTTY_WORKS, 1, [Define for USG systems where it | ||
| 3134 | works to open a pty's tty in the parent process, then close and | ||
| 3135 | reopen it in the child.]) | ||
| 3136 | fi | ||
| 3137 | |||
| 3128 | case $opsys in | 3138 | case $opsys in |
| 3129 | gnu-kfreebsd) opsysfile="s/gnu-linux.h" ;; | 3139 | gnu-kfreebsd) opsysfile="s/gnu-linux.h" ;; |
| 3140 | hpux11) opsysfile="s/hpux10-20.h" ;; | ||
| 3130 | openbsd) opsysfile="s/netbsd.h" ;; | 3141 | openbsd) opsysfile="s/netbsd.h" ;; |
| 3131 | esac | 3142 | esac |
| 3132 | 3143 | ||
diff --git a/src/ChangeLog b/src/ChangeLog index bc588517b29..935d9f93c8b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | 2012-06-12 Glenn Morris <rgm@gnu.org> | 1 | 2012-06-12 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * s/gnu-kfreebsd.h, s/openbsd.h: Remove files. | 3 | * s/gnu-kfreebsd.h, s/hpux11.h, s/openbsd.h: Remove files. |
| 4 | 4 | ||
| 5 | * s/hpux10-20.h, s/openbsd.h, s/usg5-4-common.h: | 5 | * s/hpux10-20.h, s/openbsd.h, s/usg5-4-common.h: |
| 6 | Move BROKEN_SIGIO to configure. | 6 | Move BROKEN_SIGIO to configure. |
diff --git a/src/s/hpux11.h b/src/s/hpux11.h deleted file mode 100644 index 40bcc987973..00000000000 --- a/src/s/hpux11.h +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | #include "hpux10-20.h" | ||
| 2 | |||
| 3 | /* SA_RESTART resets the timeout of `select', so don't use it. */ | ||
| 4 | #define BROKEN_SA_RESTART | ||
| 5 | |||
| 6 | /* It does work on HPUX to open the pty's tty in the parent (Emacs), | ||
| 7 | then close and reopen it in the child. */ | ||
| 8 | #define USG_SUBTTY_WORKS | ||
| 9 | |||