mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-23 16:43:11 +01:00
FreeBSD and NetBSD HAVE got ttydefaults.h. Fixes SF bug 2844744.
Also make clang use -iquote in makefiles.
This commit is contained in:
parent
1ce325b31e
commit
6b4ed722b1
@ -1,4 +1,4 @@
|
|||||||
# $Id: GNUmakefile,v 1.112 2009-07-31 10:45:22 nicm Exp $
|
# $Id: GNUmakefile,v 1.113 2009-08-26 08:58:39 nicm Exp $
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ endif
|
|||||||
|
|
||||||
# This sort of sucks but gets rid of the stupid warning and should work on
|
# This sort of sucks but gets rid of the stupid warning and should work on
|
||||||
# most platforms...
|
# most platforms...
|
||||||
ifeq ($(shell (LC_ALL=C $(CC) -v 2>&1|awk '/gcc version 4/') || true), )
|
ifeq ($(shell (LC_ALL=C $(CC) -v 2>&1|awk '/gcc version 4|clang/') || true), )
|
||||||
CPPFLAGS:= -I. -I- $(CPPFLAGS)
|
CPPFLAGS:= -I. -I- $(CPPFLAGS)
|
||||||
else
|
else
|
||||||
CPPFLAGS:= -iquote. $(CPPFLAGS)
|
CPPFLAGS:= -iquote. $(CPPFLAGS)
|
||||||
|
4
Makefile
4
Makefile
@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile,v 1.147 2009-07-31 10:45:22 nicm Exp $
|
# $Id: Makefile,v 1.148 2009-08-26 08:58:39 nicm Exp $
|
||||||
|
|
||||||
.SUFFIXES: .c .o
|
.SUFFIXES: .c .o
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
@ -22,7 +22,7 @@ CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
|
|||||||
|
|
||||||
# This sort of sucks but gets rid of the stupid warning and should work on
|
# This sort of sucks but gets rid of the stupid warning and should work on
|
||||||
# most platforms...
|
# most platforms...
|
||||||
CCV!= (LC_ALL=C ${CC} -v 2>&1|awk '/gcc version 4/') || true
|
CCV!= (LC_ALL=C ${CC} -v 2>&1|awk '/gcc version 4|clang/') || true
|
||||||
.if empty(CCV)
|
.if empty(CCV)
|
||||||
CPPFLAGS:= -I. -I- -I/usr/local/include ${CPPFLAGS}
|
CPPFLAGS:= -I. -I- -I/usr/local/include ${CPPFLAGS}
|
||||||
.else
|
.else
|
||||||
|
5
TODO
5
TODO
@ -46,7 +46,6 @@
|
|||||||
errors better
|
errors better
|
||||||
- key to switch to copy mode from scroll mode
|
- key to switch to copy mode from scroll mode
|
||||||
- attach should have a flag to create session if it doesn't exist
|
- attach should have a flag to create session if it doesn't exist
|
||||||
- a way to address panes by name ("top-left") and position ("0,0")
|
|
||||||
- rename split-window -> split-pane??
|
- rename split-window -> split-pane??
|
||||||
- fix UTF-8 guesswork on sparc64, improve tty checks
|
- fix UTF-8 guesswork on sparc64, improve tty checks
|
||||||
- choice and more mode would be better per client than per window?
|
- choice and more mode would be better per client than per window?
|
||||||
@ -101,3 +100,7 @@
|
|||||||
- handle resize better in copy mode
|
- handle resize better in copy mode
|
||||||
- way to copy stuff that is off screen due to resize
|
- way to copy stuff that is off screen due to resize
|
||||||
- fix line wrapping c&p problems in xterm etc
|
- fix line wrapping c&p problems in xterm etc
|
||||||
|
- a way to address panes by name ("top-left") and position ("0,0")
|
||||||
|
- a mode to identify panes
|
||||||
|
- show pane number somewhere (separator lines?)
|
||||||
|
|
||||||
|
4
configure
vendored
4
configure
vendored
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $Id: configure,v 1.32 2009-08-20 13:35:59 nicm Exp $
|
# $Id: configure,v 1.33 2009-08-26 08:58:39 nicm Exp $
|
||||||
|
|
||||||
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
|
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
|
||||||
|
|
||||||
@ -214,6 +214,7 @@ EOF
|
|||||||
#define HAVE_STRLCPY
|
#define HAVE_STRLCPY
|
||||||
#define HAVE_STRTONUM
|
#define HAVE_STRTONUM
|
||||||
#define HAVE_STRSEP
|
#define HAVE_STRSEP
|
||||||
|
#define HAVE_TTYDEFAULTS_H
|
||||||
#define HAVE_TTYDEFCHARS
|
#define HAVE_TTYDEFCHARS
|
||||||
#define HAVE_U_INT
|
#define HAVE_U_INT
|
||||||
EOF
|
EOF
|
||||||
@ -243,6 +244,7 @@ EOF
|
|||||||
#define HAVE_STRLCAT
|
#define HAVE_STRLCAT
|
||||||
#define HAVE_STRLCPY
|
#define HAVE_STRLCPY
|
||||||
#define HAVE_STRSEP
|
#define HAVE_STRSEP
|
||||||
|
#define HAVE_TTYDEFAULTS_H
|
||||||
#define HAVE_TTYDEFCHARS
|
#define HAVE_TTYDEFCHARS
|
||||||
#define HAVE_UTIL_H
|
#define HAVE_UTIL_H
|
||||||
#define HAVE_U_INT
|
#define HAVE_U_INT
|
||||||
|
Loading…
Reference in New Issue
Block a user