diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-09-16 12:36:28 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-09-16 12:36:28 +0000 |
commit | 15b643fc119221658ca3e9c6718eeb88ffcbe47a (patch) | |
tree | 21c2d4ebd4565117a9a4d9ed7c98f84326849f07 /configure | |
parent | 150fba5ecdb3fedd8aed71ee65fb8cc6b0354070 (diff) |
Sync from OpenBSD:
==
Rather than constructing an entire termios struct from ttydefaults.h, just let
forkpty do it and then alter the bits that should be changed after fork. A
little neater and more portable.
==
This should fix problems caused by glibc's broken ttydefaults.h file.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.36 2009-09-04 14:48:25 nicm Exp $ +# $Id: configure,v 1.37 2009-09-16 12:36:27 nicm Exp $ TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`} @@ -35,8 +35,6 @@ cat <<EOF >>$CONFIG_H #undef HAVE_STRSEP #undef HAVE_STRTONUM #undef HAVE_TREE_H -#undef HAVE_TTYDEFAULTS_H -#undef HAVE_TTYDEFCHARS #undef HAVE_UTIL_H #undef HAVE_U_INT #undef HAVE_VIS @@ -65,8 +63,6 @@ case $TMUX_PLATFORM in #define HAVE_STRSEP #define HAVE_STRTONUM #define HAVE_TREE_H -#define HAVE_TTYDEFAULTS_H -#define HAVE_TTYDEFCHARS #define HAVE_UTIL_H #define HAVE_U_INT #define HAVE_VIS @@ -91,7 +87,6 @@ EOF #define HAVE_PTY_H #define HAVE_STRCASESTR #define HAVE_STRSEP -#define HAVE_TTYDEFAULTS_H #define HAVE_U_INT EOF cat <<EOF >>$CONFIG_MK @@ -183,8 +178,6 @@ EOF #define HAVE_STRLCAT #define HAVE_STRLCPY #define HAVE_STRSEP -#define HAVE_TTYDEFAULTS_H -#define HAVE_TTYDEFCHARS #define HAVE_UTIL_H #define HAVE_U_INT EOF @@ -219,8 +212,6 @@ EOF #define HAVE_STRLCPY #define HAVE_STRTONUM #define HAVE_STRSEP -#define HAVE_TTYDEFAULTS_H -#define HAVE_TTYDEFCHARS #define HAVE_U_INT EOF cat <<EOF >>$CONFIG_MK @@ -250,8 +241,6 @@ EOF #define HAVE_STRLCAT #define HAVE_STRLCPY #define HAVE_STRSEP -#define HAVE_TTYDEFAULTS_H -#define HAVE_TTYDEFCHARS #define HAVE_UTIL_H #define HAVE_U_INT EOF |