aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-09 15:48:03 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-09 15:48:03 +0000
commite6d5633671e48319ef04c53a1503e7bb5b79fd04 (patch)
tree20cbd4000e822621bd820386bc626778151387ed /configure
parente098f7b285b94883b3d48c9a9c15dfb3c792eef9 (diff)
downloadrtmux-e6d5633671e48319ef04c53a1503e7bb5b79fd04.tar.gz
rtmux-e6d5633671e48319ef04c53a1503e7bb5b79fd04.tar.bz2
rtmux-e6d5633671e48319ef04c53a1503e7bb5b79fd04.zip
DragonFlyBSD, FreeBSD, and NetBSD do not need vis.c.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index db9058b1..2ae523c8 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.20 2009-07-31 10:44:03 nicm Exp $
+# $Id: configure,v 1.21 2009-08-09 15:48:03 tcunha Exp $
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
@@ -174,11 +174,11 @@ EOF
#define HAVE_STRLCAT
#define HAVE_STRLCPY
#define HAVE_STRTONUM
+#define HAVE_VIS
EOF
cat <<EOF >>$CONFIG_MK
LIBS+= -lcurses -lcrypt -lutil
-SRCS+= osdep-freebsd.c \
- compat/vis.c
+SRCS+= osdep-freebsd.c
EOF
;;
# ------------------------------------------------------------------------------
@@ -197,14 +197,14 @@ EOF
#define HAVE_STRLCAT
#define HAVE_STRLCPY
#define HAVE_UTIL_H
+#define HAVE_VIS
EOF
cat <<EOF >>$CONFIG_MK
CPPFLAGS+= -I/usr/pkg/include
LDFLAGS+= -L/usr/pkg/lib
LIBS+= -lncurses -lcrypt -lutil
SRCS+= osdep-netbsd.c \
- compat/strtonum.c \
- compat/vis.c
+ compat/strtonum.c
EOF
;;
# ------------------------------------------------------------------------------