summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-16 19:48:17 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-16 19:48:17 +0000
commit622e0185700a5122b0e8e14092b146484b1decab (patch)
tree723ed29310ab223914878489540cd5281d28e5fa /configure
parenta2a8518f74cd26a116006319a3063afe1ec631e3 (diff)
vis(3) compat files were removed prematurely from {DragonFly,Free,Net}BSD. Add
them back, per SourceForge bug #2838408.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index f37abe3c..ff1efe7c 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.24 2009-08-16 16:15:53 nicm Exp $
+# $Id: configure,v 1.25 2009-08-16 19:48:17 tcunha Exp $
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
@@ -196,11 +196,12 @@ EOF
#define HAVE_STRLCPY
#define HAVE_STRTONUM
#define HAVE_STRSEP
-#define HAVE_VIS
EOF
cat <<EOF >>$CONFIG_MK
LIBS+= -lcurses -lcrypt -lutil
SRCS+= osdep-freebsd.c \
+ compat/vis.c \
+ compat/unvis.c \
compat/imsg-buffer.c \
compat/imsg.c
EOF
@@ -222,7 +223,6 @@ EOF
#define HAVE_STRLCPY
#define HAVE_STRSEP
#define HAVE_UTIL_H
-#define HAVE_VIS
EOF
cat <<EOF >>$CONFIG_MK
CPPFLAGS+= -I/usr/pkg/include
@@ -230,6 +230,8 @@ LDFLAGS+= -L/usr/pkg/lib
LIBS+= -lncurses -lcrypt -lutil
SRCS+= osdep-netbsd.c \
compat/strtonum.c \
+ compat/vis.c \
+ compat/unvis.c \
compat/imsg-buffer.c \
compat/imsg.c
EOF