diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-26 08:58:39 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-26 08:58:39 +0000 |
commit | 6b4ed722b1d77342fd4faa0c33880ef1d1d2305f (patch) | |
tree | 4f8c250e2a5d3ccc1c3f2ada842a152ed26ceb88 | |
parent | 1ce325b31e1a81e40f2d9819ce65a51c4b251971 (diff) |
FreeBSD and NetBSD HAVE got ttydefaults.h. Fixes SF bug 2844744.
Also make clang use -iquote in makefiles.
-rw-r--r-- | GNUmakefile | 4 | ||||
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | TODO | 5 | ||||
-rwxr-xr-x | configure | 4 |
4 files changed, 11 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile index 6e2773ab..a5bc8a65 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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 @@ -21,7 +21,7 @@ endif # This sort of sucks but gets rid of the stupid warning and should work on # 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) else CPPFLAGS:= -iquote. $(CPPFLAGS) @@ -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 .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 # 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) CPPFLAGS:= -I. -I- -I/usr/local/include ${CPPFLAGS} .else @@ -46,7 +46,6 @@ errors better - key to switch to copy mode from scroll mode - 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?? - fix UTF-8 guesswork on sparc64, improve tty checks - choice and more mode would be better per client than per window? @@ -101,3 +100,7 @@ - handle resize better in copy mode - way to copy stuff that is off screen due to resize - 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?) + @@ -1,5 +1,5 @@ #!/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`} @@ -214,6 +214,7 @@ EOF #define HAVE_STRLCPY #define HAVE_STRTONUM #define HAVE_STRSEP +#define HAVE_TTYDEFAULTS_H #define HAVE_TTYDEFCHARS #define HAVE_U_INT EOF @@ -243,6 +244,7 @@ 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 |