* configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS): New AC_DEFINEs.
(opsysfile): Set specially for hpux11.
* src/s/hpux11.h: Remove file.
+2012-06-12 Glenn Morris <rgm@gnu.org>
+
+ * configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS):
+ New AC_DEFINEs, for hpux11.
+ (opsysfile): Set specially for hpux11.
+
2012-06-12 Paul Eggert <eggert@cs.ucla.edu>
* configure.in: Coalesce some function checking.
;;
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-kfreebsd) opsysfile="s/gnu-linux.h" ;;
+ hpux11) opsysfile="s/hpux10-20.h" ;;
openbsd) opsysfile="s/netbsd.h" ;;
esac
2012-06-12 Glenn Morris <rgm@gnu.org>
- * s/gnu-kfreebsd.h, s/openbsd.h: Remove files.
+ * s/gnu-kfreebsd.h, s/hpux11.h, s/openbsd.h: Remove files.
* s/hpux10-20.h, s/openbsd.h, s/usg5-4-common.h:
Move BROKEN_SIGIO to configure.
+++ /dev/null
-#include "hpux10-20.h"
-
-/* SA_RESTART resets the timeout of `select', so don't use it. */
-#define BROKEN_SA_RESTART
-
-/* It does work on HPUX to open the pty's tty in the parent (Emacs),
- then close and reopen it in the child. */
-#define USG_SUBTTY_WORKS
-