mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
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.
This commit is contained in:
13
configure
vendored
13
configure
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user