summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-09-16 12:36:28 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-09-16 12:36:28 +0000
commit15b643fc119221658ca3e9c6718eeb88ffcbe47a (patch)
tree21c2d4ebd4565117a9a4d9ed7c98f84326849f07 /configure
parent150fba5ecdb3fedd8aed71ee65fb8cc6b0354070 (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-xconfigure13
1 files changed, 1 insertions, 12 deletions
diff --git a/configure b/configure
index fc7afa0b..cd644158 100755
--- a/configure
+++ b/configure
@@ -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