aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-08-19 15:57:54 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-08-19 15:57:54 +0000
commit7c9f827bfe01f440e09597319fcf280685500b7f (patch)
treebadb9e506cd75e48e2ecc5470fc52e2d8221301d /configure
parent2a300c66611259e9bae9ebf75a88de05256f64df (diff)
downloadrtmux-7c9f827bfe01f440e09597319fcf280685500b7f.tar.gz
rtmux-7c9f827bfe01f440e09597319fcf280685500b7f.tar.bz2
rtmux-7c9f827bfe01f440e09597319fcf280685500b7f.zip
In yet another triumph of stupidity over common sense, the glibc
sys/ttydefaults.h is just a copy of the file from *BSD, taking no account of the fact that their OWN termios.h uses entirely different indexes into the array. I know ttydefaults.h is not meant to be portable, but you'd think it would be obvious to anyone that no file is better than a broken one...
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index ff1efe7c..b5ddd276 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.25 2009-08-16 19:48:17 tcunha Exp $
+# $Id: configure,v 1.26 2009-08-19 15:57:54 nicm Exp $
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
@@ -32,6 +32,7 @@ cat <<EOF >>$CONFIG_H
#undef HAVE_STRSEP
#undef HAVE_STRTONUM
#undef HAVE_TREE_H
+#undef HAVE_TTYDEFCHARS
#undef HAVE_UTIL_H
#undef HAVE_VIS
EOF
@@ -57,6 +58,7 @@ case $TMUX_PLATFORM in
#define HAVE_STRSEP
#define HAVE_STRTONUM
#define HAVE_TREE_H
+#define HAVE_TTYDEFCHARS
#define HAVE_UTIL_H
#define HAVE_VIS
EOF
@@ -165,6 +167,7 @@ EOF
#define HAVE_STRLCAT
#define HAVE_STRLCPY
#define HAVE_STRSEP
+#define HAVE_TTYDEFCHARS
#define HAVE_UTIL_H
EOF
cat <<EOF >>$CONFIG_MK
@@ -196,6 +199,7 @@ EOF
#define HAVE_STRLCPY
#define HAVE_STRTONUM
#define HAVE_STRSEP
+#define HAVE_TTYDEFCHARS
EOF
cat <<EOF >>$CONFIG_MK
LIBS+= -lcurses -lcrypt -lutil
@@ -222,6 +226,7 @@ EOF
#define HAVE_STRLCAT
#define HAVE_STRLCPY
#define HAVE_STRSEP
+#define HAVE_TTYDEFCHARS
#define HAVE_UTIL_H
EOF
cat <<EOF >>$CONFIG_MK