aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-08-20 05:34:58 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-08-20 05:34:58 +0000
commit09cc5302994a5f245dbbe5875e5e0670f9332a19 (patch)
tree4fbf7ec9502e6fa48a2fdb6f41f3777c50894d5b /configure
parent966818c23d0cf15d93ad3c50ebadfd6d346ef428 (diff)
downloadrtmux-09cc5302994a5f245dbbe5875e5e0670f9332a19.tar.gz
rtmux-09cc5302994a5f245dbbe5875e5e0670f9332a19.tar.bz2
rtmux-09cc5302994a5f245dbbe5875e5e0670f9332a19.zip
Solaris and AIX have no ttydefaults.h.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index b5ddd276..c6a96b4c 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.26 2009-08-19 15:57:54 nicm Exp $
+# $Id: configure,v 1.27 2009-08-20 05:34:58 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_TTYDEFAULTS_H
#undef HAVE_TTYDEFCHARS
#undef HAVE_UTIL_H
#undef HAVE_VIS
@@ -58,6 +59,7 @@ 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_VIS
@@ -81,6 +83,7 @@ EOF
#define HAVE_PTY_H
#define HAVE_STRCASESTR
#define HAVE_STRSEP
+#define HAVE_TTYDEFAULTS_H
EOF
cat <<EOF >>$CONFIG_MK
CFLAGS+= -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE
@@ -167,6 +170,7 @@ EOF
#define HAVE_STRLCAT
#define HAVE_STRLCPY
#define HAVE_STRSEP
+#define HAVE_TTYDEFAULTS_H
#define HAVE_TTYDEFCHARS
#define HAVE_UTIL_H
EOF